de.interactive_instruments.ShapeChange
Class ProcessRuleSet

java.lang.Object
  extended by de.interactive_instruments.ShapeChange.ProcessRuleSet

public class ProcessRuleSet
extends Object

Represents a set of rules. This set may be accompanied by a set of identifiers for optional rules. It may also extend another set of rules.

Author:
echterhoff

Constructor Summary
ProcessRuleSet(String name, Set<String> additionalRules)
           
ProcessRuleSet(String name, String extendedRuleSetName, Set<String> additionalRules)
           
 
Method Summary
 Set<String> getAdditionalRules()
           
 String getExtendedRuleSetName()
           
 String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessRuleSet

public ProcessRuleSet(String name,
                      Set<String> additionalRules)
Parameters:
name - Name of this rule set.
additionalRules - Set of identifiers for the additional, otherwise optional rules, that are declared for this rule set.

ProcessRuleSet

public ProcessRuleSet(String name,
                      String extendedRuleSetName,
                      Set<String> additionalRules)
Parameters:
name - Name of this rule set.
extendedRuleSetName - Name of the rule set that this rule set extends. May be null if there is no such extension.
additionalRules - Set of identifiers for the additional, otherwise optional rules, that are declared for this rule set.
Method Detail

getName

public String getName()
Returns:
Name of this rule set.

getExtendedRuleSetName

public String getExtendedRuleSetName()
Returns:
Name of the rule set that is extended by this set of rules; null if there is no such extension.

getAdditionalRules

public Set<String> getAdditionalRules()
Returns:
Set of identifiers for the additional, otherwise optional rules, that are declared for this rule set.


Copyright © 2015. All rights reserved.