edu.nrao.sss.model.user
Class Contact
java.lang.Object
edu.nrao.sss.model.user.ObjectId
edu.nrao.sss.model.user.Contact
- All Implemented Interfaces:
- XMLable, Serializable
- Direct Known Subclasses:
- Address, Email, Fax, Phone, URL
public abstract class Contact
- extends ObjectId
- implements XMLable
- See Also:
- Serialized Form
contactType
protected Contact.ContactType contactType
Contact
public Contact()
Contact
public Contact(Contact contact)
copy
public void copy(Contact contact)
set
public void set(Contact contact)
getContactDescription
public String getContactDescription()
isDefaultContact
public boolean isDefaultContact()
setContactDescription
public void setContactDescription(String contactDescription)
setDefaultContact
public void setDefaultContact(boolean defaultContact)
toXML
public String toXML()
- Description copied from interface:
XMLable
- Provide an XML description of the object.
- Specified by:
toXML
in interface XMLable
- Returns:
- a String representing the XML of the object.
getContactType
public Contact.ContactType getContactType()
getEncodedId
public String getEncodedId()
getUpdatedBy
public int getUpdatedBy()
getUpdatedOn
public Date getUpdatedOn()
copy
public void copy(edu.nrao.sss.model.user.UpdateDetails updateDetails)
setUpdatedBy
public void setUpdatedBy(int updatedBy)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
setUpdatedOn
public void setUpdatedOn(Date updatedOn)
throws NullPointerException
- Throws:
NullPointerException
Copyright © 2009. All Rights Reserved.