Package org.n52.series.db.beans.dataset
Enum ObservationType
- java.lang.Object
-
- java.lang.Enum<ObservationType>
-
- org.n52.series.db.beans.dataset.ObservationType
-
- All Implemented Interfaces:
Serializable,Comparable<ObservationType>
public enum ObservationType extends Enum<ObservationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description not_initializedprofilesimpletimeseriestrajectory
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set<ObservationType>convert(Collection<String> values)static ObservationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ObservationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
simple
public static final ObservationType simple
-
profile
public static final ObservationType profile
-
trajectory
public static final ObservationType trajectory
-
timeseries
public static final ObservationType timeseries
-
not_initialized
public static final ObservationType not_initialized
-
-
Field Detail
-
ALL
public static final String ALL
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ObservationType[] 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 (ObservationType c : ObservationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ObservationType 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
-
convert
public static Set<ObservationType> convert(Collection<String> values)
-
-