com.opnworks.cbo
Class Contact
java.lang.Object
com.opnworks.cbo.Contact
- All Implemented Interfaces:
- IContactMechanism, IPersistent, java.io.Serializable
- Direct Known Subclasses:
- Email, Phone
- public abstract class Contact
- extends java.lang.Object
- implements IContactMechanism, IPersistent
- Author:
- Laurent
- See Also:
- Serialized Form
| Fields inherited from interface com.opnworks.cbo.IContactMechanism |
EMAIL, EMAIL_1, EMAIL_2, EMAIL_3, IM, PHONE, PHONE_FAX, PHONE_HOME, PHONE_MOBILE, PHONE_OFFICE, PHONE_PAGER |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Contact
public Contact()
setId
public void setId(java.lang.Long id)
- Description copied from interface:
IPersistent
- Sets the Id attribute of the IPersistent object
- Specified by:
setId in interface IPersistent
- Parameters:
id -
setValue
public void setValue(java.lang.String value)
- Parameters:
value - The new Value value
setType
public void setType(int i)
- Parameters:
i -
setOwner
public void setOwner(IParty party)
- Parameters:
party -
setVersion
public void setVersion(int i)
- Specified by:
setVersion in interface IPersistent
- Parameters:
i -
getId
public java.lang.Long getId()
- Gets the Id attribute of the Contact object
- Specified by:
getId in interface IPersistent
- Returns:
- The Id value
getValue
public java.lang.String getValue()
- Returns:
getType
public int getType()
- Returns:
getOwner
public IParty getOwner()
- Returns:
getVersion
public int getVersion()
- Specified by:
getVersion in interface IPersistent
- Returns:
equals
public boolean equals(java.lang.Object other)
- Description of the Method
- Parameters:
other - Description of Parameter
- Returns:
- Description of the Returned Value
hashCode
public int hashCode()
- Description of the Method
- Returns:
- Description of the Returned Value