Package adams.flow.transformer
Enum TimeseriesInfo.InfoType
- java.lang.Object
-
- java.lang.Enum<TimeseriesInfo.InfoType>
-
- adams.flow.transformer.TimeseriesInfo.InfoType
-
- All Implemented Interfaces:
Serializable
,Comparable<TimeseriesInfo.InfoType>
- Enclosing class:
- TimeseriesInfo
public static enum TimeseriesInfo.InfoType extends Enum<TimeseriesInfo.InfoType>
The type of information to generate.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DB_ID
the database ID.ID
the spectrum ID.MAX_TIMESTAMP
the largest timestamp.MAX_VALUE
the largest value.MIN_TIMESTAMP
the smallest timestamp.MIN_VALUE
the smallest value.NUM_POINTS
the number of data points.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TimeseriesInfo.InfoType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TimeseriesInfo.InfoType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ID
public static final TimeseriesInfo.InfoType ID
the spectrum ID.
-
DB_ID
public static final TimeseriesInfo.InfoType DB_ID
the database ID.
-
NUM_POINTS
public static final TimeseriesInfo.InfoType NUM_POINTS
the number of data points.
-
MIN_TIMESTAMP
public static final TimeseriesInfo.InfoType MIN_TIMESTAMP
the smallest timestamp.
-
MAX_TIMESTAMP
public static final TimeseriesInfo.InfoType MAX_TIMESTAMP
the largest timestamp.
-
MIN_VALUE
public static final TimeseriesInfo.InfoType MIN_VALUE
the smallest value.
-
MAX_VALUE
public static final TimeseriesInfo.InfoType MAX_VALUE
the largest value.
-
-
Method Detail
-
values
public static TimeseriesInfo.InfoType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TimeseriesInfo.InfoType c : TimeseriesInfo.InfoType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TimeseriesInfo.InfoType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-