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