public enum ContactContextType extends java.lang.Enum<ContactContextType>
TestPackage.getContactContextType()| Enum Constant and Description |
|---|
HOME
The 'HOME' literal object.
|
PRIVATE
The 'PRIVATE' literal object.
|
TEST
The 'TEST' literal object.
|
WORK
The 'WORK' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
HOME_VALUE
The 'HOME' literal value.
|
static int |
PRIVATE_VALUE
The 'PRIVATE' literal value.
|
static int |
TEST_VALUE
The 'TEST' literal value.
|
static java.util.List<ContactContextType> |
VALUES
A public read-only list of all the 'Contact Context Type' enumerators.
|
static int |
WORK_VALUE
The 'WORK' literal value.
|
| Modifier and Type | Method and Description |
|---|---|
static ContactContextType |
get(int value)
Returns the 'Contact Context Type' literal with the specified integer value.
|
static ContactContextType |
get(java.lang.String literal)
Returns the 'Contact Context Type' literal with the specified literal value.
|
static ContactContextType |
getByName(java.lang.String name)
Returns the 'Contact Context Type' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static ContactContextType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContactContextType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContactContextType HOME
HOME_VALUEpublic static final ContactContextType PRIVATE
PRIVATE_VALUEpublic static final ContactContextType WORK
WORK_VALUEpublic static final ContactContextType TEST
TEST_VALUEpublic static final int HOME_VALUE
If the meaning of 'HOME' literal object isn't clear, there really should be more of a description here...
HOME,
Constant Field Valuespublic static final int PRIVATE_VALUE
If the meaning of 'PRIVATE' literal object isn't clear, there really should be more of a description here...
PRIVATE,
Constant Field Valuespublic static final int WORK_VALUE
If the meaning of 'WORK' literal object isn't clear, there really should be more of a description here...
WORK,
Constant Field Valuespublic static final int TEST_VALUE
If the meaning of 'TEST' literal object isn't clear, there really should be more of a description here...
TEST,
Constant Field Valuespublic static final java.util.List<ContactContextType> VALUES
public static ContactContextType[] values()
for (ContactContextType c : ContactContextType.values()) System.out.println(c);
public static ContactContextType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static ContactContextType get(java.lang.String literal)
literal - the literal.null.public static ContactContextType getByName(java.lang.String name)
name - the name.null.public static ContactContextType get(int value)
value - the integer value.null.public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString in class java.lang.Enum<ContactContextType>Data In Motion Consulting GmbH