Class DssDataType

java.lang.Object
hec.heclib.dss.DssDataType

public class DssDataType extends Object
  • Field Details

  • Method Details

    • clone

      public Object clone()
      Overrides Object.clone() to preserve uniqueness of this data type value.
      Overrides:
      clone in class Object
      Returns:
    • getDataTypeArray

      public static DssDataType[] getDataTypeArray()
      Gets an array of DssDataType's.
      Returns:
    • value

      public int value()
      Gets the integer value for this DSS data type.
      Returns:
    • equals

      public boolean equals(DssDataType dataType)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Gets the string representation of this DSS data type.
      Overrides:
      toString in class Object
      Returns:
    • fromString

      public static DssDataType fromString(String dataType)
      Gets the DSS data type for given string.
      Parameters:
      dataType -
      Returns:
    • fromInt

      public static DssDataType fromInt(int dataType)
      Gets the DSS data type for given integer value.
      Parameters:
      dataType -
      Returns:
    • isValid

      public static boolean isValid(String type)
    • getTimeSeriesTypes

      public static String[] getTimeSeriesTypes()
    • getParameterType

      public static mil.army.usace.hec.metadata.ParameterType getParameterType(String dssType)
      getParameterType returns a CWMS ParameterType object derived from a DSS Type. If the DSS Type is not known to CWMS, the parameter type this returned as a null.
    • getDSSType

      public static String getDSSType(mil.army.usace.hec.metadata.Parameter parameter, mil.army.usace.hec.metadata.ParameterType parameterType)
      getDSSType returns a string of DSS type derived from the CWMS parameter and parameter type.