public class RssConditional extends Conditional implements ZoneObjectParent
Title: Hec Java Development
Description:
Copyright: Copyright (c) 2003
Company:
ELSE_CONDITIONAL, ELSE_IF_CONDITIONAL, IF_CONDITIONAL_description, _index, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENT| Constructor and Description |
|---|
RssConditional() |
RssConditional(int type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConditionalBlock(ConditionalBlockRef ref) |
OpRuleRef |
addRule(OpRule rule) |
OpRuleRef |
addRule(OpRule rule,
int priority,
StorageZoneRules szr) |
OpRuleRef |
addRule(OpRule rule,
StorageZoneRules szr) |
RssConditional |
clone()
Creates a new object of the same class as this object.
|
java.util.List |
getActiveRules(RunTimeStep rts,
java.util.List rList)
gets the list of active OpRules used by this conditional
|
void |
getActiveTSRecordProxies(java.util.List list,
int iotype) |
java.util.List |
getAllRuleRefs(int controllerIndex,
int ruleRefIndex,
java.util.List refList) |
java.util.List<RssConditionalBlock> |
getConditionalBlocks(java.util.List<RssConditionalBlock> conditionalBlockList)
get the ConditionalBlocks used by this Conditional
|
java.util.List |
getControllerRules(int controllerId,
java.util.List ruleList)
adds all rules used in this operation set to the given List
|
void |
getElementDependencies(RssSystem sys,
Element sourceElem,
java.util.List<Element> lastElemList)
Examine all conditional items referenced in this conditional block to determine any
elements referenced by conditional value tests.
|
NamedType |
getParentElement()
override to return correct Parent element
|
java.util.List |
getPrimaryRules(java.util.List ruleList)
gets the list of OpRules held directy by zone
|
void |
getReferencedStateVariables(java.util.List svlist)
adds all StateVariables refereced by conditionals to the given List
|
ReservoirOp |
getReservoirOp()
Gets the ReservoirOp that owns the parent.
|
java.util.List<OpRuleRef> |
getRuleRefs(java.util.List<OpRuleRef> ruleRefList)
gets the unique list of OpRuleRefs used by this conditional
|
java.util.List |
getRules(java.util.List rList)
gets the unique list of OpRules used by this conditional
|
boolean |
initializeCompute(RunTimeWindow rtw) |
void |
removeAllConditionalBlockRefs(int cbBlockIndex) |
void |
removeAllRuleRefs(int controllerIndex,
int ruleRefIndex) |
boolean |
removeCondtionalObject(java.lang.Object obj) |
void |
removeControllerRefs(int ctrlId) |
OpRuleRef |
removeRule(OpRule oprule)
Removes a RuleReference from this object and returns it to the caller.
|
OpRuleRef |
removeRule(OpRuleRef opruleRef)
Removes a RuleReference from this object and returns it to the caller.
|
boolean |
updateConditionaBlockWithRef(ConditionalBlock cblock,
ConditionalBlockRef ref) |
void |
updateParentData() |
void |
updateTSProxyList() |
addConditionalBlock, addConditionalItem, clearConditionalItems, conditionalTreeToString, decreaseConditionalObjectPriority, deleteConditionalBlock, evaluate, getChildCount, getConditionalChildren, getConditionalItems, getConditionalObjects, getConditionalObjects, getConditionalType, getConditionalTypeString, getContitionalBlocks, getFieldObject, getParent, increaseConditionalObjectPriority, moveToBottomPriority, moveToTopPriority, setFieldObject, setParent, setTreeNodeExpanded, shouldTreeNodeExpand, toStringaddModifiableListener, compareTo, getDescription, getDisplayName, getIgnoreModifiedEvents, getIndex, getName, isModified, isValid, removeModifiableListener, rename, set, setDescription, setIgnoreModifiedEvents, setIndex, setModified, setName, setValid, update, useRecursiveModifiedTestpublic RssConditional()
public RssConditional(int type)
public boolean initializeCompute(RunTimeWindow rtw)
initializeCompute in class Conditionalpublic void getReferencedStateVariables(java.util.List svlist)
public RssConditional clone()
NamedTypeclone in class Conditionalpublic void updateTSProxyList()
public void getActiveTSRecordProxies(java.util.List list,
int iotype)
public void getElementDependencies(RssSystem sys, Element sourceElem, java.util.List<Element> lastElemList)
lastElemList - list to contain the referenced elementspublic void updateParentData()
updateParentData in class Conditionalpublic ReservoirOp getReservoirOp()
ZoneObjectParentgetReservoirOp in interface ZoneObjectParentpublic OpRuleRef removeRule(OpRule oprule)
ruleRefIndex - public OpRuleRef removeRule(OpRuleRef opruleRef)
ruleRefIndex - public java.util.List getActiveRules(RunTimeStep rts, java.util.List rList)
public java.util.List getPrimaryRules(java.util.List ruleList)
public java.util.List getRules(java.util.List rList)
public java.util.List<OpRuleRef> getRuleRefs(java.util.List<OpRuleRef> ruleRefList)
ruleRefList - adds OpRuleRefs to, if null creates itpublic java.util.List getAllRuleRefs(int controllerIndex,
int ruleRefIndex,
java.util.List refList)
public java.util.List getControllerRules(int controllerId,
java.util.List ruleList)
public java.util.List<RssConditionalBlock> getConditionalBlocks(java.util.List<RssConditionalBlock> conditionalBlockList)
conditionalBlockList - public void removeControllerRefs(int ctrlId)
public void removeAllRuleRefs(int controllerIndex,
int ruleRefIndex)
public void removeAllConditionalBlockRefs(int cbBlockIndex)
public boolean removeCondtionalObject(java.lang.Object obj)
removeCondtionalObject in class Conditionalpublic OpRuleRef addRule(OpRule rule, StorageZoneRules szr)
public OpRuleRef addRule(OpRule rule, int priority, StorageZoneRules szr)
public void addConditionalBlock(ConditionalBlockRef ref)
ref - public NamedType getParentElement()
ConditionalgetParentElement in class Conditionalpublic boolean updateConditionaBlockWithRef(ConditionalBlock cblock, ConditionalBlockRef ref)
cblock - ref -