Package net.opengis.wps10
Class MethodType
Object
AbstractEnumerator
MethodType
- All Implemented Interfaces:
Serializable
,Enumerator
public final class MethodType
extends AbstractEnumerator
A representation of the literals of the enumeration 'Method Type',
and utility methods for working with them.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The 'GET' literal value.static final MethodType
The 'GET' literal object.static final int
The 'POST' literal value.static final MethodType
The 'POST' literal object.static final List
A public read-only list of all the 'Method Type' enumerators. -
Method Summary
Modifier and TypeMethodDescriptionstatic MethodType
get
(int value) Returns the 'Method Type' literal with the specified integer value.static MethodType
Returns the 'Method Type' literal with the specified literal value.static MethodType
Returns the 'Method Type' literal with the specified name.Methods inherited from class AbstractEnumerator
getLiteral, getName, getValue, toString, writeReplace
-
Field Details
-
GET
public static final int GETThe 'GET' literal value.If the meaning of 'GET' literal object isn't clear, there really should be more of a description here...
- See Also:
-
POST
public static final int POSTThe 'POST' literal value.If the meaning of 'POST' literal object isn't clear, there really should be more of a description here...
- See Also:
-
GET_LITERAL
The 'GET' literal object.- See Also:
-
POST_LITERAL
The 'POST' literal object.- See Also:
-
VALUES
A public read-only list of all the 'Method Type' enumerators.
-
-
Method Details
-
get
Returns the 'Method Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
Returns the 'Method Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
Returns the 'Method Type' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
.
-