com.sas.iquery.metadata.business
Interface Prompt
All Superinterfaces: Base , BusinessItem , BusinessModelObject , BusinessModelResource , BusinessModelResourceReferencer , java.lang.Cloneable , java.util.EventListener , ExpressionInterface , com.sas.iquery.metadata.business.ExtendedAttributes, LocalizableModelObject , LocalizableNamedObjectInterface , com.sas.util.LocalizableToStringInterface, ModelItem , ModelItemWithIdentity , NamedObjectInterface , PropertyChangeListenee , java.beans.PropertyChangeListener , UsabilityInterface
public interface Prompt extends BusinessItem , ExpressionInterface , ModelItemWithIdentity , LocalizableModelObject
Enables you to specify portions of a business query
at the time a query is run. The modeling for much of the Prompt object
is provided by the AttributeDescriptorInterface supplied by the
Entities model.
Prompts can be used within data item and filter expressions. For example,
one can filter on a prompted value by using the SimpleConditionalExpression_Comparison
class to model the comparison expression X < prompt
and using that expression as a filter's expression.
getAttributeDescriptor
com.sas.entities.AttributeDescriptorInterface getAttributeDescriptor ()
Deprecated. Use getPromptDefintion
Returns the attribute descriptor containing the prompt definition
for this object.
Returns: AttributeDescriptorInterface the attribute descriptor containing the
prompt definition for this object or null.
setAttributeDescriptor
void setAttributeDescriptor (com.sas.entities.AttributeDescriptorInterface descriptor)
Deprecated. Use setPromptDefintion
Sets the attribute descriptor containing the prompt definition for this object.
Parameters: descriptor
- the attribute descriptor to use.
getPromptDefinition
com.sas.prompts.definitions.PromptDefinitionInterface getPromptDefinition ()
Returns the definition of this Prompt.
Returns: a PromptDefinitionInterface or null.
If null is returned the prompt is unusable in a query.
setPromptDefinition
void setPromptDefinition (com.sas.prompts.definitions.PromptDefinitionInterface definition)
Sets the prompt definition for this object.
Property change events signaled:
EVENT_PROMPT_DEFINITION_CHANGED
Parameters: definition
- - the prompt definition to be used.
Copyright © 2009 SAS Institute Inc. All Rights Reserved.