|
Oracle | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.compoze.domino.Title
public class Title
This class implements a title for a contact. A key is used to lookup the
readable string from domino_resource.properties.
| Field Summary | |
|---|---|
static Title |
DR
This value represents the 'Dr.' title. |
static Title |
MISS
This value represents the 'Miss' title. |
static Title |
MR
This value represents the 'Mr.' title. |
static Title |
MRS
This value represents the 'Mrs.' title. |
static Title |
MS
This value represents the 'Ms.' title. |
static Title |
PROF
This value represents the 'Prof.' title. |
| Constructor Summary | |
|---|---|
protected |
Title(java.lang.String sTitleKey)
Constructor. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Checks for equality. |
static Title |
get(java.lang.String sTitle)
Gets the title. |
static java.util.List |
getList()
Gets a list of titles. |
java.lang.String |
getTitle()
Gets the title. |
java.lang.String |
getTitle(java.util.Locale locale)
Gets the title using the specified locale. |
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 Title DR
public static final Title MISS
public static final Title MR
public static final Title MRS
public static final Title MS
public static final Title PROF
| Constructor Detail |
|---|
protected Title(java.lang.String sTitleKey)
sTitleKey - the key of the title (may not be null or empty)| Method Detail |
|---|
public java.lang.String getTitle()
public java.lang.String getTitle(java.util.Locale locale)
locale - the locale
public static Title get(java.lang.String sTitle)
sTitle - the title
null if not foundpublic static java.util.List getList()
Titles (unmodifiable)public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the object to check
true 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
|
Oracle | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||