public enum HTTPverb extends Enum<HTTPverb> implements org.eclipse.emf.common.util.Enumerator
SofiaPackage.getHTTPverb()| Enum Constant and Description |
|---|
DELETE
The 'DELETE' literal object.
|
GET
The 'GET' literal object.
|
POST
The 'POST' literal object.
|
PUT
The 'PUT' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
DELETE_VALUE
The 'DELETE' literal value.
|
static int |
GET_VALUE
The 'GET' literal value.
|
static int |
POST_VALUE
The 'POST' literal value.
|
static int |
PUT_VALUE
The 'PUT' literal value.
|
static List<HTTPverb> |
VALUES
A public read-only list of all the 'HTT Pverb' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static HTTPverb |
get(int value)
Returns the 'HTT Pverb' literal with the specified integer value.
|
static HTTPverb |
get(String literal)
Returns the 'HTT Pverb' literal with the specified literal value.
|
static HTTPverb |
getByName(String name)
Returns the 'HTT Pverb' 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 HTTPverb |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HTTPverb[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HTTPverb POST
POST_VALUEpublic static final HTTPverb DELETE
DELETE_VALUEpublic static final int PUT_VALUE
If the meaning of 'PUT' literal object isn't clear, there really should be more of a description here...
PUT,
Constant Field Valuespublic static final int GET_VALUE
If the meaning of 'GET' literal object isn't clear, there really should be more of a description here...
GET,
Constant Field Valuespublic static final int POST_VALUE
If the meaning of 'POST' literal object isn't clear, there really should be more of a description here...
POST,
Constant Field Valuespublic static final int DELETE_VALUE
If the meaning of 'DELETE' literal object isn't clear, there really should be more of a description here...
DELETE,
Constant Field Valuespublic static HTTPverb[] values()
for (HTTPverb c : HTTPverb.values()) System.out.println(c);
public static HTTPverb valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static HTTPverb get(String literal)
literal - the literal.null.public static HTTPverb getByName(String name)
name - the name.null.public static HTTPverb get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.EnumeratorCopyright © 2018. All rights reserved.