edu.nrao.sss.model.user
Class Email

java.lang.Object
  extended by edu.nrao.sss.model.user.ObjectId
      extended by edu.nrao.sss.model.user.Contact
          extended by edu.nrao.sss.model.user.Email
All Implemented Interfaces:
XMLable, Serializable

public class Email
extends Contact
implements XMLable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.nrao.sss.model.user.Contact
Contact.ContactType
 
Field Summary
 
Fields inherited from class edu.nrao.sss.model.user.Contact
contactType
 
Constructor Summary
Email()
           
Email(Email email)
           
 
Method Summary
 void copy(Email email)
           
 void copy(edu.nrao.sss.model.user.UpdateDetails updateDetails)
           
 boolean equals(Object obj)
           
 String getContactValue()
           
 String getEncodedId()
           
 int getUpdatedBy()
           
 Date getUpdatedOn()
           
 void set(Email email)
           
 void setContactValue(String contactValue)
           
 void setUpdatedBy(int updatedBy)
           
 void setUpdatedOn(Date updatedOn)
           
 String toXML()
          Provide an XML description of the object.
 
Methods inherited from class edu.nrao.sss.model.user.Contact
copy, getContactDescription, getContactType, isDefaultContact, set, setContactDescription, setDefaultContact
 
Methods inherited from class edu.nrao.sss.model.user.ObjectId
getId, hashCode, isNew, setId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Email

public Email()

Email

public Email(Email email)
Method Detail

copy

public void copy(Email email)

equals

public boolean equals(Object obj)
Specified by:
equals in class ObjectId

getContactValue

public String getContactValue()

set

public void set(Email email)

setContactValue

public void setContactValue(String contactValue)

toXML

public final String toXML()
Description copied from interface: XMLable
Provide an XML description of the object.

Specified by:
toXML in interface XMLable
Overrides:
toXML in class Contact
Returns:
a String representing the XML of the object.

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.