Package hec.rss.model
Class ReleaseAllocationConditionalBlockRef
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.model.AbstractConditionalBlockRef
hec.rss.model.ReleaseAllocationConditionalBlockRef
- All Implemented Interfaces:
AsciiSerializable,FieldAccessor,ReleaseAllocationObject,Serializable,Cloneable,Comparable,Observer,rma.lang.Modifiable
public class ReleaseAllocationConditionalBlockRef
extends AbstractConditionalBlockRef
implements ReleaseAllocationObject
- See Also:
-
Field Summary
Fields inherited from class hec.model.AbstractConditionalBlockRef
_conditionalBlock, m_conditionalBlockIdFields inherited from class hec.lang.NamedType
_description, _ignoreModifiedEvents, _index, _isValid, _modified, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENT -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptiongetFieldObject(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.booleanbooleansetFieldObject(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.voidsetParent(ReservoirOp aThis) voidsetTreeNodeExpanded(boolean expanded) booleantoString()voidvoidvalidate()Validates the object to make sure that all data is valid.Methods inherited from class hec.model.AbstractConditionalBlockRef
getConditionalBlockId, getName, updateMethods inherited from class hec.lang.NamedType
addModifiableListener, clone, compareTo, fireModifiedStateChanged, getDescription, getDisplayName, getIgnoreModifiedEvents, getIndex, isModified, isValid, readResolve, removeModifiableListener, rename, set, setDescription, setIgnoreModifiedEvents, setIndex, setModified, setName, setValid, useRecursiveModifiedTestMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Constructor Details
-
ReleaseAllocationConditionalBlockRef
public ReleaseAllocationConditionalBlockRef() -
ReleaseAllocationConditionalBlockRef
-
-
Method Details
-
getConditionalBlock
- Specified by:
getConditionalBlockin classAbstractConditionalBlockRef
-
shouldTreeNodeExpand
public boolean shouldTreeNodeExpand()- Returns:
-
setTreeNodeExpanded
public void setTreeNodeExpanded(boolean expanded) - Parameters:
expanded-
-
getActiveReleaseAllocation
-
getReference
- Specified by:
getReferencein interfaceReleaseAllocationObject
-
toString
- Overrides:
toStringin classAbstractConditionalBlockRef
-
getFieldObject
Description copied from interface:FieldAccessorThis method allows access to java.lang.reflect.Field objects within the implementing class.- Specified by:
getFieldObjectin interfaceFieldAccessor- Overrides:
getFieldObjectin classAbstractConditionalBlockRef- Parameters:
fld- The field to get.- Returns:
- The data object that is stored in the given field
-
setFieldObject
Description copied from interface:FieldAccessorThis allows access to fields withing the implementing object to set there data.- Specified by:
setFieldObjectin interfaceFieldAccessor- Overrides:
setFieldObjectin classAbstractConditionalBlockRef- Parameters:
fld- The java field object representing the member field to be setfobj- The data to set in that field- Returns:
- returns true if successful
-
getActiveReleaseAllocationSet
- Specified by:
getActiveReleaseAllocationSetin interfaceReleaseAllocationObject
-
getAllReleaseAllocationSets
- Specified by:
getAllReleaseAllocationSetsin interfaceReleaseAllocationObject
-
initializeCompute
- Specified by:
initializeComputein interfaceReleaseAllocationObject
-
updateParentData
public void updateParentData()- Specified by:
updateParentDatain interfaceReleaseAllocationObject
-
setParent
- Specified by:
setParentin interfaceReleaseAllocationObject
-
validate
Description copied from interface:ReleaseAllocationObjectValidates the object to make sure that all data is valid. If there is an error a VerifyError Exception is thrown.- Specified by:
validatein interfaceReleaseAllocationObject- Throws:
VerifyError
-