com.sas.prompts.definitions
Interface MutableValueProviderDefinitionInterface

All Superinterfaces:
com.sas.storage.valueprovider.AllowUserValuesInterface, ValueProviderDefinitionInterface
All Known Implementing Classes:
DateDefinition, DoubleDefinition, IntegerDefinition, ModalGroupDefinition, TextDefinition

public interface MutableValueProviderDefinitionInterface
extends ValueProviderDefinitionInterface


Method Summary
 void setAllowUserValues(boolean allowValues)
          Sets whether the user should be allowed to specify values in addition to those returned by the value provider.
 void setValueProvider(com.sas.storage.valueprovider.ValueProviderInterface valueProvider)
          Sets the value provider which will be used to determine the set of possible values for the prompt.
 
Methods inherited from interface com.sas.prompts.definitions.ValueProviderDefinitionInterface
getValueProvider
 

Method Detail

setValueProvider

void setValueProvider(com.sas.storage.valueprovider.ValueProviderInterface valueProvider)
Sets the value provider which will be used to determine the set of possible values for the prompt. This may be a dynamic value provider which reads from a dataset, or is may be a StaticValueProvider which holds the possble set of values in memory.

Parameters:
valueProvider - the value provider which will be used to determine the set of possible values for the prompt.

setAllowUserValues

void setAllowUserValues(boolean allowValues)
Sets whether the user should be allowed to specify values in addition to those returned by the value provider.

Parameters:
allowValues - whether the user should be allowed to specify values in addition to those returned by the value provider.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.