Package hec.rss.model
Interface ZoneObject
- All Known Implementing Classes:
ConditionalBlockRef,OpRuleRef
public interface ZoneObject
Interface for operating rule related objects held by StorageZones.
Classes implmenting this interface include OpRuleRef and ConditionalBlockRef.
-
Method Summary
Modifier and TypeMethodDescriptionclone()Returns a list of rule refs that are active based on a given input.floatvoidgetReferencedStateVariables(List svlist) Returns a list of all rule refs.voidremoveRuleRef(int ruleIndex) voidsetParent(ZoneObjectParent parent) voidsetPriority(float i)
-
Method Details
-
getActiveRuleRefs
Returns a list of rule refs that are active based on a given input. The implimentation object can decide how to handle what is active and what is not.- Returns:
- List of OpRuleRef objects
-
getRuleRefs
List getRuleRefs()Returns a list of all rule refs.- Returns:
- List of OpRuleRef objects
-
getReferencedStateVariables
-
removeRuleRef
void removeRuleRef(int ruleIndex) - Parameters:
ruleIndex-
-
getPriority
float getPriority() -
setPriority
void setPriority(float i) -
clone
Object clone() -
setParent
-