Package hec.rss.model

Class CapacitySchedule

All Implemented Interfaces:
AsciiSerializable, FieldAccessor, AltInputReportInfc, Serializable, Cloneable, Comparable, Observer, rma.lang.Modifiable

public class CapacitySchedule extends NamedType implements AsciiSerializable, Cloneable, AltInputReportInfc

Title: General CWMS Framework

Description:

Copyright: Copyright (c) 2002

Company: RMA Inc.

See Also:
  • Field Details

    • _outages

      public Map _outages
  • Constructor Details

    • CapacitySchedule

      public CapacitySchedule()
  • Method Details

    • addOutage

      public void addOutage(Element elem, CapacityOutage outage)
    • addOutage

      public void addOutage(int elemIndex, CapacityOutage outage)
    • getCapacityOutages

      public Map getCapacityOutages()
    • setCapacityOutages

      public void setCapacityOutages(Map outages)
    • clearOutages

      public void clearOutages()
    • clone

      public Object clone()
      Description copied from class: NamedType
      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
    • 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
    • outputReport

      public void outputReport(AlternativeInputReport report, org.jdom.Element elem)
      Description copied from interface: AltInputReportInfc
      Alternative Input Report Interface for data.
      Specified by:
      outputReport in interface AltInputReportInfc