|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.wimpi.pim.util.AbstractIdentifiable | +--net.wimpi.pim.contact.basicimpl.EmailAddressImpl
A basic and simple implementation of an
EmailAddress
.
Field Summary | |
protected java.lang.String |
m_Address
|
protected java.lang.String |
m_Type
|
Fields inherited from interface net.wimpi.pim.contact.model.EmailAddress |
TYPE_INTERNET, TYPE_X400 |
Constructor Summary | |
EmailAddressImpl()
|
Method Summary | |
java.lang.String |
getAddress()
Returns the address of this EmailAddress. |
java.lang.String |
getType()
Returns the type of this EmailAddress. |
boolean |
isType(java.lang.String type)
Tests if this EmailAddress is of a given type. |
void |
setAddress(java.lang.String addr)
Sets the address of this EmailAddress. |
void |
setType(java.lang.String type)
Sets the type of this EmailAddress. |
Methods inherited from class net.wimpi.pim.util.AbstractIdentifiable |
equals, getUID, setUID |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.wimpi.pim.util.Identifiable |
getUID |
Field Detail |
protected java.lang.String m_Address
protected java.lang.String m_Type
Constructor Detail |
public EmailAddressImpl()
Method Detail |
public java.lang.String getAddress()
EmailAddress
getAddress
in interface EmailAddress
public void setAddress(java.lang.String addr)
EmailAddress
setAddress
in interface EmailAddress
addr
- the address as String.public java.lang.String getType()
EmailAddress
getType
in interface EmailAddress
public void setType(java.lang.String type)
EmailAddress
setType
in interface EmailAddress
type
- the type as String.public boolean isType(java.lang.String type)
EmailAddress
isType
in interface EmailAddress
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |