Package hec.rss.model

Class CapacityOutage

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

public class CapacityOutage extends NamedType implements AsciiSerializable, Cloneable, AltInputReportInfc

Title: General CWMS Framework

Description:

Copyright: Copyright (c) 2002

Company: RMA Inc.

See Also:
  • Constructor Details

    • CapacityOutage

      public CapacityOutage()
  • Method Details

    • getStartTime

      public HecTime getStartTime()
    • setStartTime

      public void setStartTime(HecTime startTime)
    • getEndTime

      public HecTime getEndTime()
    • setEndTime

      public void setEndTime(HecTime endTime)
    • setFactor

      public void setFactor(double factor)
    • getFactor

      public double getFactor()
    • getRepeatInterval

      public RepeatInterval getRepeatInterval()
    • setRepeatInterval

      public void setRepeatInterval(RepeatInterval ri)
    • isActive

      public boolean isActive()
    • setActive

      public void setActive(boolean active)
    • 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
    • getFactorForStep

      public double getFactorForStep(HecTime stepStartTime, HecTime stepEndTime)
    • getFactorForStep

      public double getFactorForStep(HecTime stepStartTime, HecTime stepEndTime, boolean isPeriodAverage)
    • 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