public class StorageZoneRules extends NamedType implements java.lang.Cloneable
_description, _index, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENT| Constructor and Description |
|---|
StorageZoneRules() |
StorageZoneRules(OpControllerZones parent,
StorageZone zone) |
StorageZoneRules(OpSet parent,
StorageZone zone) |
| Modifier and Type | Method and Description |
|---|---|
ConditionalBlockRef |
addConditionalBlock(ConditionalBlock cb) |
ConditionalBlockRef |
addConditionalBlock(ConditionalBlock cb,
int priority) |
OpRuleRef |
addRule(OpRule rule) |
OpRuleRef |
addRule(OpRule rule,
int priority) |
java.lang.Object |
clone()
Creates a new object of the same class as this object.
|
java.util.List |
getActiveRuleRefs(RunTimeStep rts) |
java.lang.Object |
getFieldObject(java.lang.reflect.Field fld)
This method allows access to java.lang.reflect.Field objects within the implementing
class.
|
OpControllerZones |
getOpControllerZones() |
OpRuleRef |
getOpRuleRef(int ruleRefIndex) |
OpSet |
getOpSet() |
java.util.List |
getSortedConditionalBlockRefs(boolean ascend) |
java.util.List |
getSortedZoneObjects(boolean ascend)
Returns a sorted list of zone objects.
|
java.util.Vector |
getSortedZoneRuleRefs()
gets the rule references sorted in priority order
|
java.util.Vector |
getSortedZoneRuleRefs(boolean ascend)
gets the rule references sorted in priority order
|
int |
getStorageZoneIndex() |
java.util.Vector |
getZoneRuleRefs(java.util.Vector rvec)
gets the rule references and appends them to the given vector
|
ConditionalBlockRef |
removeCondtionalBlockRef(int cbBlockIndex) |
void |
removeRuleRef(int ruleRefIndex)
remove a rule reference from a storage zone rule set for a controller
|
ZoneObject |
removeZoneObject(int zoneObjectIndex) |
boolean |
setFieldObject(java.lang.reflect.Field fld,
java.lang.Object fobj)
This allows access to fields withing the implementing object to set there data.
|
void |
setOpControllerZone(OpControllerZones ocz) |
void |
setOpSet(OpSet opSet) |
addModifiableListener, compareTo, getDescription, getDisplayName, getIgnoreModifiedEvents, getIndex, getName, isModified, isValid, removeModifiableListener, rename, set, setDescription, setIgnoreModifiedEvents, setIndex, setModified, setName, setValid, toString, update, useRecursiveModifiedTestpublic StorageZoneRules()
public StorageZoneRules(OpControllerZones parent, StorageZone zone)
public StorageZoneRules(OpSet parent, StorageZone zone)
public OpSet getOpSet()
public void setOpSet(OpSet opSet)
public void removeRuleRef(int ruleRefIndex)
public OpControllerZones getOpControllerZones()
public java.util.Vector getSortedZoneRuleRefs()
public ZoneObject removeZoneObject(int zoneObjectIndex)
public java.util.List getActiveRuleRefs(RunTimeStep rts)
public java.util.List getSortedZoneObjects(boolean ascend)
ascend - hec.rss.model.ZoneObjects;public java.util.List getSortedConditionalBlockRefs(boolean ascend)
public java.util.Vector getSortedZoneRuleRefs(boolean ascend)
public java.util.Vector getZoneRuleRefs(java.util.Vector rvec)
public ConditionalBlockRef addConditionalBlock(ConditionalBlock cb)
public ConditionalBlockRef addConditionalBlock(ConditionalBlock cb, int priority)
public ConditionalBlockRef removeCondtionalBlockRef(int cbBlockIndex)
public void setOpControllerZone(OpControllerZones ocz)
public int getStorageZoneIndex()
public java.lang.Object clone()
public OpRuleRef getOpRuleRef(int ruleRefIndex)
public java.lang.Object getFieldObject(java.lang.reflect.Field fld)
FieldAccessorgetFieldObject in interface FieldAccessorgetFieldObject in class NamedTypefld - The field to get.public boolean setFieldObject(java.lang.reflect.Field fld,
java.lang.Object fobj)
FieldAccessorsetFieldObject in interface FieldAccessorsetFieldObject in class NamedTypefld - The java field object representing the member field to be setfobj - The data to set in that field