***  This interface is subject to change.  ***

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 getDependentFilters()
          Returns the collection of dependent CascadableFilter objects for this rule.
 java.util.Collection 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

***  This method is subject to change.  ***

getItem

CascadeRuleItem getItem()
Returns the CascadeRuleItem for this rule.

Returns:
A CascadeRuleItem object.

***  This method is subject to change.  ***

getDependentItems

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

Returns:
A collection of CascadeRuleItem objects.

***  This method is subject to change.  ***

getDependentFilters

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

Returns:
A collection of CascadableFilter objects.

***  This method is subject to change.  ***

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.

***  This method is subject to change.  ***

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.

***  This interface is subject to change.  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.