Package net.opengis.gml311
Enum TimeUnitTypeMember0
- Object
-
- Enum<TimeUnitTypeMember0>
-
- TimeUnitTypeMember0
-
- All Implemented Interfaces:
Serializable
,Comparable<TimeUnitTypeMember0>
,Enumerator
public enum TimeUnitTypeMember0 extends Enum<TimeUnitTypeMember0> implements Enumerator
A representation of the literals of the enumeration 'Time Unit Type Member0', and utility methods for working with them.- See Also:
Gml311Package.getTimeUnitTypeMember0()
-
-
Field Summary
Fields Modifier and Type Field Description static int
DAY_VALUE
The 'Day' literal value.static int
HOUR_VALUE
The 'Hour' literal value.static int
MINUTE_VALUE
The 'Minute' literal value.static int
SECOND_VALUE
The 'Second' literal value.static List<TimeUnitTypeMember0>
VALUES
A public read-only list of all the 'Time Unit Type Member0' enumerators.static int
YEAR_VALUE
The 'Year' literal value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimeUnitTypeMember0
get(int value)
Returns the 'Time Unit Type Member0' literal with the specified integer value.static TimeUnitTypeMember0
get(String literal)
Returns the 'Time Unit Type Member0' literal with the specified literal value.static TimeUnitTypeMember0
getByName(String name)
Returns the 'Time Unit Type Member0' 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 TimeUnitTypeMember0
valueOf(String name)
Returns the enum constant of this type with the specified name.static TimeUnitTypeMember0[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
YEAR
public static final TimeUnitTypeMember0 YEAR
The 'Year' literal object.- See Also:
YEAR_VALUE
-
DAY
public static final TimeUnitTypeMember0 DAY
The 'Day' literal object.- See Also:
DAY_VALUE
-
HOUR
public static final TimeUnitTypeMember0 HOUR
The 'Hour' literal object.- See Also:
HOUR_VALUE
-
MINUTE
public static final TimeUnitTypeMember0 MINUTE
The 'Minute' literal object.- See Also:
MINUTE_VALUE
-
SECOND
public static final TimeUnitTypeMember0 SECOND
The 'Second' literal object.- See Also:
SECOND_VALUE
-
-
Field Detail
-
YEAR_VALUE
public static final int YEAR_VALUE
The 'Year' literal value.If the meaning of 'Year' literal object isn't clear, there really should be more of a description here...
- See Also:
YEAR
, Constant Field Values
-
DAY_VALUE
public static final int DAY_VALUE
The 'Day' literal value.If the meaning of 'Day' literal object isn't clear, there really should be more of a description here...
- See Also:
DAY
, Constant Field Values
-
HOUR_VALUE
public static final int HOUR_VALUE
The 'Hour' literal value.If the meaning of 'Hour' literal object isn't clear, there really should be more of a description here...
- See Also:
HOUR
, Constant Field Values
-
MINUTE_VALUE
public static final int MINUTE_VALUE
The 'Minute' literal value.If the meaning of 'Minute' literal object isn't clear, there really should be more of a description here...
- See Also:
MINUTE
, Constant Field Values
-
SECOND_VALUE
public static final int SECOND_VALUE
The 'Second' literal value.If the meaning of 'Second' literal object isn't clear, there really should be more of a description here...
- See Also:
SECOND
, Constant Field Values
-
VALUES
public static final List<TimeUnitTypeMember0> VALUES
A public read-only list of all the 'Time Unit Type Member0' enumerators.
-
-
Method Detail
-
values
public static TimeUnitTypeMember0[] 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 (TimeUnitTypeMember0 c : TimeUnitTypeMember0.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TimeUnitTypeMember0 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 TimeUnitTypeMember0 get(String literal)
Returns the 'Time Unit Type Member0' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static TimeUnitTypeMember0 getByName(String name)
Returns the 'Time Unit Type Member0' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static TimeUnitTypeMember0 get(int value)
Returns the 'Time Unit Type Member0' 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<TimeUnitTypeMember0>
-
-