com.softwareag.centrasite.appl.framework.beans.standard.impl
Class UserImpl

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.beans.DynamicRegistryBean
      extended by com.softwareag.centrasite.appl.framework.beans.standard.impl.RegistryObjectImpl
          extended by com.softwareag.centrasite.appl.framework.beans.standard.impl.UserImpl
All Implemented Interfaces:
RegistryBean, RevisionBean, ExtensibleObject, RegistryObject, User

public class UserImpl
extends RegistryObjectImpl
implements User


Constructor Summary
UserImpl()
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.util.Collection<EmailAddress> getEmailAddresses()
          Gets the email addresses for this User.
 Organization getOrganization()
          Gets the Organization that this User is affiliated with.
 PersonName getPersonName()
          Returns the name of this User.
 java.util.Collection<PostalAddress> getPostalAddresses()
          Gets the postal address for this User.
 java.util.Collection<TelephoneNumber> getTelephoneNumbers()
          Get all telephone numbers for this user
 java.lang.String getType()
          Gets the type for this User.
 java.net.URL getUrl()
          Gets the URL to the web page for this User.
 int hashCode()
           
 void setEmailAddresses(java.util.Collection<EmailAddress> emailAddresses)
          Sets the Collection of EmailAddress instances for this User.
 void setOrganization(Organization organization)
          Sets the Organization this User belongs to
 void setPersonName(PersonName personName)
          Sets the name of this User.
 void setPostalAddresses(java.util.Collection<PostalAddress> postalAddresses)
          Sets the addresses for this User.
 void setTelephoneNumbers(java.util.Collection<TelephoneNumber> telephoneNumbers)
          Sets the various telephone numbers for this user.
 void setType(java.lang.String type)
          Sets the type for this User.
 void setUrl(java.net.URL url)
          Sets the URL to the web page for this User.
 
Methods inherited from class com.softwareag.centrasite.appl.framework.beans.standard.impl.RegistryObjectImpl
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSlots, getSubmittingOrganization, setAssociatedObjects, setAssociations, setAuditTrail, setClassifications, setExternalIdentifiers, setExternalLinks, setObjectType, setRegistryPackages, setSlots, setSubmittingOrganization
 
Methods inherited from class com.softwareag.centrasite.appl.framework.beans.DynamicRegistryBean
getCheckpointName, getDescription, getIdentity, getKey, getName, isRevision, setCheckpointName, setDescription, setIdentity, setKey, setName, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.beans.standard.RegistryObject
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSubmittingOrganization, setAssociations, setClassifications, setExternalIdentifiers, setExternalLinks, setSubmittingOrganization
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.beans.RegistryBean
getDescription, getKey, getName, setDescription, setName
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.beans.standard.ExtensibleObject
getSlots, setSlots
 

Constructor Detail

UserImpl

public UserImpl()
Method Detail

getOrganization

public Organization getOrganization()
Gets the Organization that this User is affiliated with.

Specified by:
getOrganization in interface User
Returns:
Organization

getType

public java.lang.String getType()
Gets the type for this User.

Specified by:
getType in interface User
Returns:
String

getUrl

public java.net.URL getUrl()
Gets the URL to the web page for this User.

Specified by:
getUrl in interface User
Returns:
URL

setType

public void setType(java.lang.String type)
Sets the type for this User.

Specified by:
setType in interface User

setUrl

public void setUrl(java.net.URL url)
Sets the URL to the web page for this User.

Specified by:
setUrl in interface User

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class RegistryObjectImpl

hashCode

public int hashCode()
Overrides:
hashCode in class RegistryObjectImpl

getEmailAddresses

public java.util.Collection<EmailAddress> getEmailAddresses()
Gets the email addresses for this User.

Specified by:
getEmailAddresses in interface User
Returns:
Collection

setEmailAddresses

public void setEmailAddresses(java.util.Collection<EmailAddress> emailAddresses)
Sets the Collection of EmailAddress instances for this User.

Specified by:
setEmailAddresses in interface User

getPersonName

public PersonName getPersonName()
Returns the name of this User.

Specified by:
getPersonName in interface User
Returns:
PersonName

setPersonName

public void setPersonName(PersonName personName)
Sets the name of this User.

Specified by:
setPersonName in interface User

getPostalAddresses

public java.util.Collection<PostalAddress> getPostalAddresses()
Gets the postal address for this User.

Specified by:
getPostalAddresses in interface User
Returns:
Collection

setPostalAddresses

public void setPostalAddresses(java.util.Collection<PostalAddress> postalAddresses)
Sets the addresses for this User.

Specified by:
setPostalAddresses in interface User

getTelephoneNumbers

public java.util.Collection<TelephoneNumber> getTelephoneNumbers()
Get all telephone numbers for this user

Specified by:
getTelephoneNumbers in interface User
Returns:
Collection

setTelephoneNumbers

public void setTelephoneNumbers(java.util.Collection<TelephoneNumber> telephoneNumbers)
Sets the various telephone numbers for this user.

Specified by:
setTelephoneNumbers in interface User

setOrganization

public void setOrganization(Organization organization)
Sets the Organization this User belongs to

Parameters:
organization -