Package hec.rss.model

Class RssConditionalBlock

All Implemented Interfaces:
AsciiSerializable, FieldAccessor, Serializable, Cloneable, Comparable, Observer, rma.lang.Modifiable

public class RssConditionalBlock extends ConditionalBlock

Title: Hec Java Development

Description:

Copyright: Copyright (c) 2003

Company:

See Also:
  • Constructor Details

    • RssConditionalBlock

      public RssConditionalBlock()
    • RssConditionalBlock

      public RssConditionalBlock(String name)
  • Method Details

    • getReferencedStateVariables

      public void getReferencedStateVariables(List svlist)
      adds all StateVariables refereced by conditionals to the given List
    • getActiveRules

      public List getActiveRules(RunTimeStep rts, List ruleList)
      gets the unique list of active OpRules used by this condition block for the given time step
    • getRules

      public List getRules(List ruleList)
      gets the unique list of OpRules used by this condition block
    • getRuleRefs

      public List<OpRuleRef> getRuleRefs(List<OpRuleRef> ruleRefList)
      gets the unique list of OpRules used by this condition block
      Parameters:
      ruleRefList - the list to add the OpRuleRefs to, created if null
      Returns:
      the List of OpRuleRefs
    • getAllRuleRefs

      public List getAllRuleRefs(int controllerIndex, int ruleRefIndex, List refList)
    • getControllerRules

      public List getControllerRules(int controllerId, List ruleList)
      adds all rules used in this operation set to the given List
    • removeControllerRefs

      public void removeControllerRefs(int ctrlId)
    • removeAllRuleRefs

      public void removeAllRuleRefs(int controllerIndex, int ruleRefIndex)
    • removeAllConditionalBlockRefs

      public void removeAllConditionalBlockRefs(int cbBlockIndex)
    • updateTSProxyList

      public void updateTSProxyList()
    • getActiveTSRecordProxies

      public void getActiveTSRecordProxies(List list, int iotype)
    • getElementDependencies

      public void getElementDependencies(RssSystem sys, Element sourceElem, List<Element> lastElemList)
      Examine all conditional items referenced in this conditional block to determine any elements referenced by conditional value tests. Add these referenced elements to the given List. Elements should only be added once to the given list.
      Parameters:
      lastElemList - list to contain the referenced elements