|
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.webdav.Gender
Gender
This class stores the values for a CDO 'gender'. The internationalizable
string values are stored in the exchange_resources.properties
file (accessed through ExchangeProperties
) and referenced by
their key.
Field Summary | |
static Gender |
FEMALE
Deprecated. This value represents the 'female' gender. |
static Gender |
MALE
Deprecated. This value represents the 'male' gender. |
static Gender |
UNSPECIFIED
Deprecated. This value represents the 'unspecified' gender. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Deprecated. Checks for equality. |
static Gender |
get(int iStoreValue)
Deprecated. Gets the gender by its store value. |
static Gender |
get(java.lang.String sName)
Deprecated. Gets the gender by the name in the system default locale. |
static java.util.List |
getList()
Deprecated. Gets the list of gender levels. |
java.lang.String |
getName()
Deprecated. Gets the name of the gender using the system default locale. |
java.lang.String |
getName(java.util.Locale locale)
Deprecated. Gets the name of the gender using the specified locale. |
int |
getStoreValue()
Deprecated. Gets the value that's used to store the gender in the storage system. |
java.lang.String |
toString()
Deprecated. Returns a string representation of the object. |
java.lang.String |
toString(java.util.Locale locale)
Deprecated. 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 Gender UNSPECIFIED
public static final Gender FEMALE
public static final Gender MALE
Method Detail |
public java.lang.String getName()
public java.lang.String getName(java.util.Locale locale)
locale
- the localepublic int getStoreValue()
public static Gender get(int iStoreValue)
sStoreValue
- the store value to get bynull
if not foundpublic static Gender get(java.lang.String sName)
sName
- the name in the system default localenull
if not foundpublic static java.util.List getList()
Gender
s (unmodifiable)public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to check for equalitytrue
if this object has the same store value as the argument; false
otherwisepublic java.lang.String toString()
toString
in class java.lang.Object
public 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 |