Package hec.rss.model

Class ReleaseAllocationSet

java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.rss.model.ReleaseAllocationSet
All Implemented Interfaces:
AsciiSerializable, FieldAccessor, Serializable, Cloneable, Comparable, Observer, rma.lang.Modifiable

public class ReleaseAllocationSet extends NamedType implements AsciiSerializable
Simple named class that allows the grouping of release allocations into different sets based on one name invalid input: '&' description.
See Also:
  • Constructor Details

    • ReleaseAllocationSet

      public ReleaseAllocationSet()
    • ReleaseAllocationSet

      public ReleaseAllocationSet(String name, String description)
  • Method Details

    • getReleaseAllocation

      public ReleaseAllocation getReleaseAllocation(int id)
    • addReleaseAllocation

      public void addReleaseAllocation(int opControllerId, ReleaseAllocation ra)
    • removeReleaseAllocation

      public ReleaseAllocation removeReleaseAllocation(int opControllerId)
    • getFieldObject

      public Object getFieldObject(Field fld)
      Description copied from interface: FieldAccessor
      This method allows access to java.lang.reflect.Field objects within the implementing class.
      Specified by:
      getFieldObject in interface FieldAccessor
      Overrides:
      getFieldObject in class NamedType
      Parameters:
      fld - The field to get.
      Returns:
      The data object that is stored in the given field
    • setFieldObject

      public boolean setFieldObject(Field fld, Object fobj)
      Description copied from interface: FieldAccessor
      This allows access to fields withing the implementing object to set there data.
      Specified by:
      setFieldObject in interface FieldAccessor
      Overrides:
      setFieldObject in class NamedType
      Parameters:
      fld - The java field object representing the member field to be set
      fobj - The data to set in that field
      Returns:
      returns true if successful