Package hec.rss.model
Class RssConditionalBlock
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.model.ConditionalBlock
hec.rss.model.RssConditionalBlock
- All Implemented Interfaces:
AsciiSerializable,FieldAccessor,Serializable,Cloneable,Comparable,Observer,rma.lang.Modifiable
Title: Hec Java Development
Description:
Copyright: Copyright (c) 2003
Company:
- See Also:
-
Field Summary
Fields inherited from class hec.model.ConditionalBlock
_conditionalsFields inherited from class hec.lang.NamedType
_description, _ignoreModifiedEvents, _index, _isValid, _modified, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetActiveRules(RunTimeStep rts, List ruleList) gets the unique list of active OpRules used by this condition block for the given time stepvoidgetActiveTSRecordProxies(List list, int iotype) getAllRuleRefs(int controllerIndex, int ruleRefIndex, List refList) getControllerRules(int controllerId, List ruleList) adds all rules used in this operation set to the given ListvoidgetElementDependencies(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.voidgetReferencedStateVariables(List svlist) adds all StateVariables refereced by conditionals to the given ListgetRuleRefs(List<OpRuleRef> ruleRefList) gets the unique list of OpRules used by this condition blockgets the unique list of OpRules used by this condition blockvoidremoveAllConditionalBlockRefs(int cbBlockIndex) voidremoveAllRuleRefs(int controllerIndex, int ruleRefIndex) voidremoveControllerRefs(int ctrlId) voidMethods inherited from class hec.model.ConditionalBlock
addConditional, addConditional, clearConditionals, clone, deleteConditionalBlock, duplicateConditionals, getConditionals, getEvaluatedItems, getFieldObject, getParent, getPriority, getUnEvaluatedItems, hasElse, initializeCompute, remove, setFieldObject, setParent, setPriority, setTreeNodeExpanded, shouldTreeNodeExpand, toStringMethods inherited from class hec.lang.NamedType
addModifiableListener, compareTo, fireModifiedStateChanged, getDescription, getDisplayName, getIgnoreModifiedEvents, getIndex, getName, isModified, isValid, readResolve, removeModifiableListener, rename, set, setDescription, setIgnoreModifiedEvents, setIndex, setModified, setName, setValid, update, useRecursiveModifiedTestMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Constructor Details
-
RssConditionalBlock
public RssConditionalBlock() -
RssConditionalBlock
-
-
Method Details
-
getReferencedStateVariables
adds all StateVariables refereced by conditionals to the given List -
getActiveRules
gets the unique list of active OpRules used by this condition block for the given time step -
getRules
gets the unique list of OpRules used by this condition block -
getRuleRefs
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
-
getControllerRules
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
-
getElementDependencies
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
-