Package net.opengis.wmts.v_1
Enum RequestServiceType
- Object
-
- Enum<RequestServiceType>
-
- RequestServiceType
-
- All Implemented Interfaces:
Serializable
,Comparable<RequestServiceType>
,Enumerator
public enum RequestServiceType extends Enum<RequestServiceType> implements Enumerator
A representation of the literals of the enumeration 'Request Service Type', and utility methods for working with them.- See Also:
wmtsv_1Package.getRequestServiceType()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description WMTS
The 'WMTS' literal object.
-
Field Summary
Fields Modifier and Type Field Description static List<RequestServiceType>
VALUES
A public read-only list of all the 'Request Service Type' enumerators.static int
WMTS_VALUE
The 'WMTS' literal value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RequestServiceType
get(int value)
Returns the 'Request Service Type' literal with the specified integer value.static RequestServiceType
get(String literal)
Returns the 'Request Service Type' literal with the specified literal value.static RequestServiceType
getByName(String name)
Returns the 'Request Service 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 RequestServiceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RequestServiceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WMTS
public static final RequestServiceType WMTS
The 'WMTS' literal object.- See Also:
WMTS_VALUE
-
-
Field Detail
-
WMTS_VALUE
public static final int WMTS_VALUE
The 'WMTS' literal value.If the meaning of 'WMTS' literal object isn't clear, there really should be more of a description here...
- See Also:
WMTS
, Constant Field Values
-
VALUES
public static final List<RequestServiceType> VALUES
A public read-only list of all the 'Request Service Type' enumerators.
-
-
Method Detail
-
values
public static RequestServiceType[] 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 (RequestServiceType c : RequestServiceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequestServiceType 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 RequestServiceType get(String literal)
Returns the 'Request Service Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static RequestServiceType getByName(String name)
Returns the 'Request Service Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static RequestServiceType get(int value)
Returns the 'Request Service 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<RequestServiceType>
-
-