com.sas.iquery.metadata.business
Interface CascadeRule


@SASScope(value="ALL")
public interface CascadeRule

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


Method Summary
abstract  boolean containsDependentFilter(CascadableFilter filter)
          Returns true if specified CascadableFilter is already contained in the dependent filters list.
abstract  java.util.Collection<CascadableFilter> getDependentFilters()
          Returns the collection of dependent CascadableFilter objects for this rule.
abstract  java.util.Collection<CascadeRuleItem> getDependentItems()
          Returns the collection of dependent CascadeRuleItem objects for this rule.
abstract  CascadeRuleItem getItem()
          Returns the CascadeRuleItem for this rule.
abstract  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.