Package net.opengis.gml311
Enum TimeIndeterminateValueType
- Object
-
- Enum<TimeIndeterminateValueType>
-
- TimeIndeterminateValueType
-
- All Implemented Interfaces:
Serializable
,Comparable<TimeIndeterminateValueType>
,Enumerator
public enum TimeIndeterminateValueType extends Enum<TimeIndeterminateValueType> implements Enumerator
A representation of the literals of the enumeration 'Time Indeterminate Value Type', and utility methods for working with them. This enumerated data type specifies values for indeterminate positions.
-
-
Field Summary
Fields Modifier and Type Field Description static int
AFTER_VALUE
The 'After' literal value.static int
BEFORE_VALUE
The 'Before' literal value.static int
NOW_VALUE
The 'Now' literal value.static int
UNKNOWN_VALUE
The 'Unknown' literal value.static List<TimeIndeterminateValueType>
VALUES
A public read-only list of all the 'Time Indeterminate Value Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimeIndeterminateValueType
get(int value)
Returns the 'Time Indeterminate Value Type' literal with the specified integer value.static TimeIndeterminateValueType
get(String literal)
Returns the 'Time Indeterminate Value Type' literal with the specified literal value.static TimeIndeterminateValueType
getByName(String name)
Returns the 'Time Indeterminate Value Type' literal with the specified name.String
getLiteral()
String
getName()
int
getValue()
String
toString()
Returns the literal value of the enumerator, which is its string representation.static TimeIndeterminateValueType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TimeIndeterminateValueType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AFTER
public static final TimeIndeterminateValueType AFTER
The 'After' literal object.- See Also:
AFTER_VALUE
-
BEFORE
public static final TimeIndeterminateValueType BEFORE
The 'Before' literal object.- See Also:
BEFORE_VALUE
-
NOW
public static final TimeIndeterminateValueType NOW
The 'Now' literal object.- See Also:
NOW_VALUE
-
UNKNOWN
public static final TimeIndeterminateValueType UNKNOWN
The 'Unknown' literal object.- See Also:
UNKNOWN_VALUE
-
-
Field Detail
-
AFTER_VALUE
public static final int AFTER_VALUE
The 'After' literal value.If the meaning of 'After' literal object isn't clear, there really should be more of a description here...
- See Also:
AFTER
, Constant Field Values
-
BEFORE_VALUE
public static final int BEFORE_VALUE
The 'Before' literal value.If the meaning of 'Before' literal object isn't clear, there really should be more of a description here...
- See Also:
BEFORE
, Constant Field Values
-
NOW_VALUE
public static final int NOW_VALUE
The 'Now' literal value.If the meaning of 'Now' literal object isn't clear, there really should be more of a description here...
- See Also:
NOW
, Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
The 'Unknown' literal value.If the meaning of 'Unknown' literal object isn't clear, there really should be more of a description here...
- See Also:
UNKNOWN
, Constant Field Values
-
VALUES
public static final List<TimeIndeterminateValueType> VALUES
A public read-only list of all the 'Time Indeterminate Value Type' enumerators.
-
-
Method Detail
-
values
public static TimeIndeterminateValueType[] 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 (TimeIndeterminateValueType c : TimeIndeterminateValueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TimeIndeterminateValueType 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
-
get
public static TimeIndeterminateValueType get(String literal)
Returns the 'Time Indeterminate Value Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static TimeIndeterminateValueType getByName(String name)
Returns the 'Time Indeterminate Value Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static TimeIndeterminateValueType get(int value)
Returns the 'Time Indeterminate Value Type' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
.
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceEnumerator
-
getName
public String getName()
- Specified by:
getName
in interfaceEnumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceEnumerator
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<TimeIndeterminateValueType>
-
-