Package org.n52.shetland.aqd
Enum AqdConstants.PrimaryObservation
- java.lang.Object
-
- java.lang.Enum<AqdConstants.PrimaryObservation>
-
- org.n52.shetland.aqd.AqdConstants.PrimaryObservation
-
- All Implemented Interfaces:
Serializable,Comparable<AqdConstants.PrimaryObservation>
- Enclosing interface:
- AqdConstants
public static enum AqdConstants.PrimaryObservation extends Enum<AqdConstants.PrimaryObservation>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AqdConstants.PrimaryObservationfrom(String v)static AqdConstants.PrimaryObservationfromConceptURI(String v)static AqdConstants.PrimaryObservationfromId(String v)StringgetConceptURI()StringgetId()booleanisMultyDayPrimaryObservation()static AqdConstants.PrimaryObservationvalueOf(String name)Returns the enum constant of this type with the specified name.static AqdConstants.PrimaryObservation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Hourly
public static final AqdConstants.PrimaryObservation Hourly
-
Daily
public static final AqdConstants.PrimaryObservation Daily
-
Weekly
public static final AqdConstants.PrimaryObservation Weekly
-
Fortnightly
public static final AqdConstants.PrimaryObservation Fortnightly
-
Monthly
public static final AqdConstants.PrimaryObservation Monthly
-
Quarterly
public static final AqdConstants.PrimaryObservation Quarterly
-
Variable
public static final AqdConstants.PrimaryObservation Variable
-
-
Method Detail
-
values
public static AqdConstants.PrimaryObservation[] 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 (AqdConstants.PrimaryObservation c : AqdConstants.PrimaryObservation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AqdConstants.PrimaryObservation 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
-
getId
public String getId()
-
getConceptURI
public String getConceptURI()
-
from
public static AqdConstants.PrimaryObservation from(String v)
-
fromConceptURI
public static AqdConstants.PrimaryObservation fromConceptURI(String v)
-
fromId
public static AqdConstants.PrimaryObservation fromId(String v)
-
isMultyDayPrimaryObservation
public boolean isMultyDayPrimaryObservation()
-
-