com.sas.iquery.metadata.business
Interface CascadeRule


public interface CascadeRule

Contains the collection of dependent CascadeRuleItem objects and CascadableFilter objects for single CascadeRuleItem.


Method Summary
 boolean containsDependentFilter(CascadableFilter filter)
          Returns true if specified CascadableFilter is already contained in the dependent filters list.
 java.util.Collection<CascadableFilter> getDependentFilters()
          Returns the collection of dependent CascadableFilter objects for this rule.
 java.util.Collection<CascadeRuleItem> getDependentItems()
          Returns the collection of dependent CascadeRuleItem objects for this rule.
 CascadeRuleItem getItem()
          Returns the CascadeRuleItem for this rule.
 boolean hasDependentItemFor(com.sas.prompts.definitions.PromptDefinitionInterface prompt, com.sas.prompts.PromptValuesInterface promptValue)
          Returns true if specified PromptDefinitionInterface PromptValuesInterface pair is already contained in the dependent items list.
 

Method Detail

getItem

CascadeRuleItem getItem()
Returns the CascadeRuleItem for this rule.

Returns:
a CascadeRuleItem object.

getDependentItems

java.util.Collection<CascadeRuleItem> getDependentItems()
Returns the collection of dependent CascadeRuleItem objects for this rule.

Returns:
a collection of CascadeRuleItem objects

getDependentFilters

java.util.Collection<CascadableFilter> getDependentFilters()
Returns the collection of dependent CascadableFilter objects for this rule.

Returns:
a collection of CascadableFilter objects

hasDependentItemFor

boolean hasDependentItemFor(com.sas.prompts.definitions.PromptDefinitionInterface prompt,
                            com.sas.prompts.PromptValuesInterface promptValue)
Returns true if specified PromptDefinitionInterface PromptValuesInterface pair is already contained in the dependent items list.

Parameters:
prompt - The PromptDefinitionInterface object that the dependent item is based on.
promptValue - The PromptValuesInterface that contains the specified prompt.
Returns:
true if the PromptDefinitionInterface PromtpValuesInterface pair is found. Otherwise false.

containsDependentFilter

boolean containsDependentFilter(CascadableFilter filter)
Returns true if specified CascadableFilter is already contained in the dependent filters list.

Parameters:
filter - the CascadableFilter object to search for.
Returns:
true if the CascadableFilter is found; otherwise false



Copyright © 2009 SAS Institute Inc. All Rights Reserved.