|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectportlets.compoze.groupware.addressbook.AddressInfo.AddressType
This class represents the address type of an address.
Field Summary | |
static AddressInfo.AddressType |
BUSINESS
This value represents a 'business' address type. |
static AddressInfo.AddressType |
HOME
This value represents a 'home' message type. |
static AddressInfo.AddressType |
NONE
This value represents a 'none' address type. |
static AddressInfo.AddressType |
OTHER
This value represents a 'other' address type. |
static int |
VALUE_BUSINESS
This value represents the 'business' value. |
static int |
VALUE_HOME
This value represents the 'home' value. |
static int |
VALUE_NONE
This value represents the 'none' value. |
static int |
VALUE_OTHER
This value represents the 'other' value. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Checks for equality. |
static AddressInfo.AddressType |
get(int iValue)
Gets the address type by the value. |
static java.util.List |
getAddressTypes()
Gets the list of address type objects. |
java.lang.String |
getKey()
Gets the key (address name) for i18n. |
int |
getValue()
Gets the value of the address type. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int VALUE_HOME
public static final int VALUE_BUSINESS
public static final int VALUE_OTHER
public static final int VALUE_NONE
public static final AddressInfo.AddressType HOME
public static final AddressInfo.AddressType BUSINESS
public static final AddressInfo.AddressType OTHER
public static final AddressInfo.AddressType NONE
Method Detail |
public java.lang.String getKey()
public int getValue()
VALUE_
constants)public static AddressInfo.AddressType get(int iValue)
iValue
- the value to get by
null
if not foundpublic static java.util.List getAddressTypes()
AddressType
objects (unmodifiable)public boolean equals(java.lang.Object o)
o
- the object to check
true
if this object has the same value as the argument; false
otherwisegetValue()
|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |