Package hec.rss.model

Class ReportInterval

All Implemented Interfaces:
AsciiSerializable, FieldAccessor, ReportIntervalInfc, Serializable, Cloneable, Comparable, Observer, rma.lang.Modifiable
Direct Known Subclasses:
SeasonalReportInterval

public class ReportInterval extends NamedType implements ReportIntervalInfc
The Class ReportInterval.
See Also:
  • Field Details

    • SEASONAL

      public static String SEASONAL
      The SEASONAL.
  • Constructor Details

    • ReportInterval

      public ReportInterval()
      Instantiates a new report interval.
    • ReportInterval

      public ReportInterval(String name, String type)
      Instantiates a new report interval.
      Parameters:
      name - the name
      type - the type
  • Method Details

    • getType

      public String getType()
      Description copied from interface: ReportIntervalInfc
      Gets the type.
      Specified by:
      getType in interface ReportIntervalInfc
      Returns:
      the type
    • setType

      public void setType(String type)
      Sets the type.
      Parameters:
      type - the new type
    • loadData

      public boolean loadData(org.jdom.Element elem)
      Description copied from interface: ReportIntervalInfc
      Load data.
      Specified by:
      loadData in interface ReportIntervalInfc
      Parameters:
      elem - the elem
      Returns:
      true, if successful
    • storeData

      public boolean storeData(org.jdom.Element elem)
      Description copied from interface: ReportIntervalInfc
      Store data.
      Specified by:
      storeData in interface ReportIntervalInfc
      Parameters:
      elem - the elem
      Returns:
      true, if successful
    • setName

      public void setName(String name)
      Description copied from class: NamedType
      Set the NamedTypes's name to the argument String.
      Overrides:
      setName in class NamedType
    • getName

      public String getName()
      Description copied from class: NamedType
      get the NameType's name
      Overrides:
      getName in class NamedType
      Returns:
      the name