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