Package hec.rss.model

Class AbstractReservoirOp

All Implemented Interfaces:
hec.event.AbstractDataListener, hec.event.DataChangeListener, hec.event.LockListener, AsciiSerializable, FieldAccessor, DataObject, DataStruct, Serializable, Cloneable, Comparable, EventListener, Observer, rma.lang.Modifiable
Direct Known Subclasses:
ReservoirOp, ReservoirSysOp

public class AbstractReservoirOp extends AbstractDataObject
Abstract base class for RSS reservoirs and reservoir systems
See Also:
  • Constructor Details

    • AbstractReservoirOp

      public AbstractReservoirOp()
    • AbstractReservoirOp

      public AbstractReservoirOp(long id, DataList datalist)
  • Method Details

    • clone

      public Object clone() throws CloneNotSupportedException
      Creates a new object of the same class as this object.
      It then initializes each of the new object's fields by assigning it the same value as the corresponding field in this object. No
      constructor is called.
      Overrides:
      clone in class NamedType
      Throws:
      CloneNotSupportedException
    • loadId

      public boolean loadId()
      load this DataObject's ID info
      Specified by:
      loadId in interface DataObject
      Overrides:
      loadId in class AbstractDataObject
      See Also:
    • copyInto

      public void copyInto(DataObject doObj)
      copy DataObject do's data into this one
      Specified by:
      copyInto in interface DataObject
      Overrides:
      copyInto in class AbstractDataObject
    • copyInto

      public void copyInto(DataStruct dsObj)
      copy the DataStructs data into this DataObject
    • DataChanged

      public void DataChanged(hec.event.DataChangeEvent e)
      required method for DataChangeListener interface
      Specified by:
      DataChanged in interface hec.event.DataChangeListener
      Overrides:
      DataChanged in class AbstractDataObject
    • locked

      public void locked(hec.event.LockEvent le)
      required method for LockListener interface