com.sas.iquery.metadata.business
Interface FilterCascadeInterface

All Known Subinterfaces:
FilterCascadeRule
All Known Implementing Classes:
com.sas.iquery.metadata.business.impl.AbstractFilterCascade, FilterCascade

public interface FilterCascadeInterface

Defines the prompt filter dependencies that makes up the cascade.


Method Summary
abstract  Prompt getBusinessPrompt()
          Returns the business prompt
abstract  CascadableFilter getDependentFilter()
          Returns the dependent cascadable filter
abstract  java.util.Collection<com.sas.prompts.definitions.PromptDefinitionInterface> getDependentPrompts()
          Returns the collection of PromptDefinitionInterfaces that are associated to the dependent filters.
abstract  com.sas.prompts.definitions.PromptDefinitionInterface getPrompt()
          Returns the PromptDefinitionInterface that has dependent prompts
abstract  void setBusinessPrompt(Prompt prompt)
          Sets the business prompt that has dependent filters.
abstract  void setDependentFilter(CascadableFilter filter)
          The cascadable filter that must be applied when generating the values for the business prompt.
 

Method Detail

setBusinessPrompt

void setBusinessPrompt(Prompt prompt)
Sets the business prompt that has dependent filters.

Parameters:
prompt - a business prompt that has a value generation dependence

getBusinessPrompt

Prompt getBusinessPrompt()
Returns the business prompt

Returns:
the business prompt object. Otherwise null.

setDependentFilter

void setDependentFilter(CascadableFilter filter)
The cascadable filter that must be applied when generating the values for the business prompt.

Parameters:
filter - the cascadable filter that is required by the prompt.

getDependentFilter

CascadableFilter getDependentFilter()
Returns the dependent cascadable filter

Returns:
a CascadableFilter object or null.

getPrompt

com.sas.prompts.definitions.PromptDefinitionInterface getPrompt()
Returns the PromptDefinitionInterface that has dependent prompts

Returns:
the prompt definition for this cascade

getDependentPrompts

java.util.Collection<com.sas.prompts.definitions.PromptDefinitionInterface> getDependentPrompts()
Returns the collection of PromptDefinitionInterfaces that are associated to the dependent filters.

Returns:
a collection of PromptDefinitionInterfaces



Copyright © 2009 SAS Institute Inc. All Rights Reserved.