|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Title>
com.ail.party.Title
public enum Title
Type safe enumeration representing constant values for Title.
| Enum Constant Summary | |
|---|---|
DR
Dr |
|
MISS
Miss |
|
MR
Mr |
|
MRS
Mr |
|
MS
Ms |
|
OTHER
Other |
|
UNDEFINED
Undefined |
|
| Method Summary | |
|---|---|
static Title |
forName(java.lang.String name)
This method is similar to the valueOf() method offered by Java's Enum type, but in this case it will match either the Enum's name or the longName. |
java.lang.String |
getLongName()
Returns the same value as longName(). |
java.lang.String |
getName()
Returns the same value as name(). |
int |
getOrdinal()
Return this Enum's ordinal id. |
java.lang.String |
longName()
The long name for an enum. |
static Title |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Title[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
java.lang.String |
valuesAsCsv()
|
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ail.core.TypeEnum |
|---|
name |
| Enum Constant Detail |
|---|
public static final Title UNDEFINED
public static final Title MR
public static final Title MRS
public static final Title MISS
public static final Title MS
public static final Title DR
public static final Title OTHER
| Method Detail |
|---|
public static final Title[] values()
for(Title c : Title.values())
System.out.println(c);
public static Title 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 namepublic java.lang.String valuesAsCsv()
public java.lang.String longName()
TypeEnum
longName in interface TypeEnumpublic static Title forName(java.lang.String name)
name - The name to lookup
public java.lang.String getName()
TypeEnum
getName in interface TypeEnumpublic java.lang.String getLongName()
TypeEnum
getLongName in interface TypeEnumpublic int getOrdinal()
TypeEnum
getOrdinal in interface TypeEnum
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||