public enum ContactType extends java.lang.Enum<ContactType>
RSATestPackage.getContactType()| Enum Constant and Description |
|---|
EMAIL
The 'EMAIL' literal object.
|
MOBILE
The 'MOBILE' literal object.
|
OTHER
The 'OTHER' literal object.
|
PHONE
The 'PHONE' literal object.
|
SKYPE
The 'SKYPE' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
EMAIL_VALUE
The 'EMAIL' literal value.
|
static int |
MOBILE_VALUE
The 'MOBILE' literal value.
|
static int |
OTHER_VALUE
The 'OTHER' literal value.
|
static int |
PHONE_VALUE
The 'PHONE' literal value.
|
static int |
SKYPE_VALUE
The 'SKYPE' literal value.
|
static java.util.List<ContactType> |
VALUES
A public read-only list of all the 'Contact Type' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static ContactType |
get(int value)
Returns the 'Contact Type' literal with the specified integer value.
|
static ContactType |
get(java.lang.String literal)
Returns the 'Contact Type' literal with the specified literal value.
|
static ContactType |
getByName(java.lang.String name)
Returns the 'Contact 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 ContactType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContactType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContactType PHONE
PHONE_VALUEpublic static final ContactType MOBILE
MOBILE_VALUEpublic static final ContactType EMAIL
EMAIL_VALUEpublic static final ContactType SKYPE
SKYPE_VALUEpublic static final ContactType OTHER
OTHER_VALUEpublic static final int PHONE_VALUE
If the meaning of 'PHONE' literal object isn't clear, there really should be more of a description here...
PHONE,
Constant Field Valuespublic static final int MOBILE_VALUE
If the meaning of 'MOBILE' literal object isn't clear, there really should be more of a description here...
MOBILE,
Constant Field Valuespublic static final int EMAIL_VALUE
If the meaning of 'EMAIL' literal object isn't clear, there really should be more of a description here...
EMAIL,
Constant Field Valuespublic static final int SKYPE_VALUE
If the meaning of 'SKYPE' literal object isn't clear, there really should be more of a description here...
SKYPE,
Constant Field Valuespublic static final int OTHER_VALUE
If the meaning of 'OTHER' literal object isn't clear, there really should be more of a description here...
OTHER,
Constant Field Valuespublic static final java.util.List<ContactType> VALUES
public static ContactType[] values()
for (ContactType c : ContactType.values()) System.out.println(c);
public static ContactType 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 ContactType get(java.lang.String literal)
literal - the literal.null.public static ContactType getByName(java.lang.String name)
name - the name.null.public static ContactType 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<ContactType>Data In Motion Consulting GmbH