javax.xml.registry.infomodel
Interface User

All Superinterfaces:
ExtensibleObject, RegistryObject, java.io.Serializable

public interface User
extends RegistryObject

User instances are RegistryObjects that are used to provide information about registered users within the registry. Users are affiliated with Organizations. User objects are used in the audit trail for a RegistryObject.

See Also:
Organization, AuditableEvent

Method Summary
 java.util.Collection getEmailAddresses()
          The email addresses for this contact.
 Organization getOrganization()
          Gets the Submitting Organization that sent the request that effected this change.
 PersonName getPersonName()
          Name of contact person
 PostalAddress getPostalAddress()
          The postal address for this Contact.
 java.util.Collection getTelephoneNumbers(java.lang.String phoneType)
          Gets the telephone numbers for this User that match the specified telephone number type.
 java.lang.String getType()
          The type for this object.
 java.net.URL getUrl()
          The URL to the web page for this contact.
 void setEmailAddresses(java.util.Collection emailAddresses)
          Sets the Collection of EmailAddress instances for this contact.
 void setPersonName(PersonName personName)
          Sets Name of contact person
 void setPostalAddress(PostalAddress address)
          Sets the address
 void setTelephoneNumbers(java.util.Collection phoneNumbers)
          Set the various telephone numbers for this user
 void setType(java.lang.String type)
          Sets the type for this object.
 void setUrl(java.net.URL url)
          Sets The URL to the web page for this contact.
 
Methods inherited from interface javax.xml.registry.infomodel.RegistryObject
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getConnection, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getName, getObjectType, getPackages, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXML
 
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlotAt, getSlots, removeSlot, removeSlots
 

Method Detail

getOrganization

public Organization getOrganization()
                             throws JAXRException
Gets the Submitting Organization that sent the request that effected this change.

Capability Level: 0
Specified by:
getOrganization in interface RegistryObject

getPersonName

public PersonName getPersonName()
                         throws JAXRException
Name of contact person

Capability Level: 0

setPersonName

public void setPersonName(PersonName personName)
                   throws JAXRException
Sets Name of contact person

Capability Level: 0

getPostalAddress

public PostalAddress getPostalAddress()
                               throws JAXRException
The postal address for this Contact.

Capability Level: 0

setPostalAddress

public void setPostalAddress(PostalAddress address)
                      throws JAXRException
Sets the address

Capability Level: 0

getUrl

public java.net.URL getUrl()
                    throws JAXRException
The URL to the web page for this contact.

Capability Level: 1

setUrl

public void setUrl(java.net.URL url)
            throws JAXRException
Sets The URL to the web page for this contact.

Capability Level: 1

getTelephoneNumbers

public java.util.Collection getTelephoneNumbers(java.lang.String phoneType)
                                         throws JAXRException
Gets the telephone numbers for this User that match the specified telephone number type. If phoneType is null return all telephoneNumbers

Capability Level: 0
Parameters:
phoneType - specifies the type of phone numbers desires

setTelephoneNumbers

public void setTelephoneNumbers(java.util.Collection phoneNumbers)
                         throws JAXRException
Set the various telephone numbers for this user

Capability Level: 0

getEmailAddresses

public java.util.Collection getEmailAddresses()
                                       throws JAXRException
The email addresses for this contact. Return empty Collection if no email addresses defined.

Capability Level: 0

setEmailAddresses

public void setEmailAddresses(java.util.Collection emailAddresses)
                       throws JAXRException
Sets the Collection of EmailAddress instances for this contact.

Capability Level: 0

getType

public java.lang.String getType()
                         throws JAXRException
The type for this object. Default is a NULL String.

Capability Level: 0

setType

public void setType(java.lang.String type)
             throws JAXRException
Sets the type for this object.

Capability Level: 0