public class UserImpl extends RegistryObjectImpl implements User
Constructor and Description |
---|
UserImpl() |
Modifier and Type | Method and Description |
---|---|
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.
|
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSlots, getSubmittingOrganization, setAssociatedObjects, setAssociations, setAuditTrail, setClassifications, setExternalIdentifiers, setExternalLinks, setObjectType, setRegistryPackages, setSlots, setSubmittingOrganization
getCheckpointName, getDescription, getIdentity, getKey, getName, isRevision, setCheckpointName, setDescription, setIdentity, setKey, setName, toString
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSubmittingOrganization, setAssociations, setClassifications, setExternalIdentifiers, setExternalLinks, setSubmittingOrganization
getDescription, getKey, getName, setDescription, setName
getSlots, setSlots
public Organization getOrganization()
getOrganization
in interface User
public java.lang.String getType()
public java.net.URL getUrl()
public void setType(java.lang.String type)
public void setUrl(java.net.URL url)
public boolean equals(java.lang.Object other)
equals
in class RegistryObjectImpl
public int hashCode()
hashCode
in class RegistryObjectImpl
public java.util.Collection<EmailAddress> getEmailAddresses()
getEmailAddresses
in interface User
public void setEmailAddresses(java.util.Collection<EmailAddress> emailAddresses)
setEmailAddresses
in interface User
emailAddresses
- the Collection of EmailAddress instances for this User.spublic PersonName getPersonName()
getPersonName
in interface User
public void setPersonName(PersonName personName)
setPersonName
in interface User
personName
- the name of this User.public java.util.Collection<PostalAddress> getPostalAddresses()
getPostalAddresses
in interface User
public void setPostalAddresses(java.util.Collection<PostalAddress> postalAddresses)
setPostalAddresses
in interface User
postalAddresses
- the addresses for this User..public java.util.Collection<TelephoneNumber> getTelephoneNumbers()
getTelephoneNumbers
in interface User
public void setTelephoneNumbers(java.util.Collection<TelephoneNumber> telephoneNumbers)
setTelephoneNumbers
in interface User
telephoneNumbers
- the various telephone numbers for this user.public void setOrganization(Organization organization)
organization
- the Organization this User belongs to.