Package hec.rss.model.globalvariable
Enum Class ScalarDataType
- All Implemented Interfaces:
Serializable,Comparable<ScalarDataType>,java.lang.constant.Constable
enum of the Data Types of ScalarGlobalVariables
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe singleton instance for BooleansThe singleton instance for DatesThe singleton instance for Date and TimesThe singleton instance for Days of the WeekThe singleton instance for BooleansThe singleton instance for IntegersThe singleton instance for Months of the YearThe singleton instance for SeasonalDatesThe singleton instance for Times -
Method Summary
Modifier and TypeMethodDescriptiontoString()static ScalarDataTypeReturns the enum constant of this class with the specified name.static ScalarDataType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INTEGER
The singleton instance for Integers -
BOOLEAN
The singleton instance for Booleans -
DOUBLE
The singleton instance for Booleans -
DATE
The singleton instance for Dates -
TIME
The singleton instance for Times -
DATEANDTIME
The singleton instance for Date and Times -
DAYOFWEEK
The singleton instance for Days of the Week -
SEASONAL_DATE
The singleton instance for SeasonalDates -
MONTHOFYEAR
The singleton instance for Months of the Year
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<ScalarDataType>
-