|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.compoze.exchange.Generation
This class implements a generation for a contact.
A key is used to lookup the
readable string from exchange_resource.properties.
| Field Summary | |
static Generation |
I
This value represents the 'I' generation. |
static Generation |
II
This value represents the 'II' generation. |
static Generation |
III
This value represents the 'III' generation. |
static Generation |
JR
This value represents the 'Jr.' generation. |
static Generation |
SR
This value represents the 'Sr.' generation. |
| Method Summary | |
boolean |
equals(java.lang.Object o)
Checks for equality. |
static Generation |
get(java.lang.String sGeneration)
Gets the generation. |
java.lang.String |
getGeneration()
Gets the name in the default locale. |
java.lang.String |
getGeneration(java.util.Locale locale)
Gets the name using the specified locale. |
static java.util.List |
getList()
Gets a list of generations. |
java.lang.String |
toString()
Returns a string representation of the object. |
java.lang.String |
toString(java.util.Locale locale)
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final Generation I
public static final Generation II
public static final Generation III
public static final Generation JR
public static final Generation SR
| Method Detail |
public java.lang.String getGeneration()
getGeneration(Locale)public java.lang.String getGeneration(java.util.Locale locale)
locale - the localepublic static Generation get(java.lang.String sGeneration)
sGeneration - the generation in the default localenull if not foundpublic static java.util.List getList()
Generations (unmodifiable)public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the object to check for equalitytrue if this object is the same as the argument; false otherwisepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.util.Locale locale)
locale - the locale
|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||