Class UserImpl
- java.lang.Object
-
- com.sun.xml.registry.uddi.infomodel.ExtensibleObjectImpl
-
- com.sun.xml.registry.uddi.infomodel.RegistryObjectImpl
-
- com.sun.xml.registry.uddi.infomodel.UserImpl
-
- All Implemented Interfaces:
Serializable,ExtensibleObject,RegistryObject,User
public class UserImpl extends RegistryObjectImpl implements User, Serializable
- Author:
- kwalsh, Bobby Bissett
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserImpl()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectiongetEmailAddresses()Get the user email addressesOrganizationgetOrganization()Gets the submitting organizationPersonNamegetPersonName()Name of contact personCollectiongetPostalAddresses()The postal addresses for this Contact.CollectiongetTelephoneNumbers(String phoneType)Gets the telephone numbers for this User that match the specified telephone number type.StringgetType()Get user typeURLgetUrl()Level 1 methodvoidsetEmailAddresses(Collection addresses)Set the user email addresses.voidsetOrganization(Organization org)Internal method for setting user organizationvoidsetPersonName(PersonName personName)Sets Name of contact person.voidsetPostalAddresses(Collection addresses)Sets the addresses.voidsetTelephoneNumbers(Collection phoneNumbers)Set the various telephone numbers for this user.voidsetType(String type)Set user typevoidsetUrl(URL url)Sets the URL to the web page for this contact.-
Methods inherited from class com.sun.xml.registry.uddi.infomodel.RegistryObjectImpl
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, addSlot, addSlots, areAssociationsLoaded, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getConnection, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getRegistryService, getServiceId, getSubmittingOrganization, isDeleted, isLoaded, isModified, isNew, isRetrieved, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, removeSlot, removeSlots, setAssociations, setAssociationsLoaded, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setIsDeleted, setIsLoaded, setIsModified, setIsNew, setIsRetrieved, setKey, setLifeCycleManager, setName, setObjectType, setRegistryService, setServiceId, setStatusFlags, setSubmittingOrganization, toXML
-
Methods inherited from class com.sun.xml.registry.uddi.infomodel.ExtensibleObjectImpl
getSlot, getSlots
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
-
Methods inherited from interface javax.xml.registry.infomodel.RegistryObject
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getSubmittingOrganization, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXML
-
-
-
-
Method Detail
-
getOrganization
public Organization getOrganization() throws JAXRException
Gets the submitting organization- Specified by:
getOrganizationin interfaceUser- Returns:
- the Organization that this User is affiliated with
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getPersonName
public PersonName getPersonName() throws JAXRException
Name of contact person- Specified by:
getPersonNamein interfaceUser- Returns:
- the name of this User
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
setPersonName
public void setPersonName(PersonName personName) throws JAXRException
Sets Name of contact person.- Specified by:
setPersonNamein interfaceUser- Parameters:
personName- the name of this User- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getPostalAddresses
public Collection getPostalAddresses() throws JAXRException
The postal addresses for this Contact.- Specified by:
getPostalAddressesin interfaceUser- Returns:
- Collection of PostalAddress instances. The Collection may be empty but not null.
- Throws:
JAXRException- If the JAXR provider encounters an internal error- See Also:
PostalAddress
-
setPostalAddresses
public void setPostalAddresses(Collection addresses) throws JAXRException
Sets the addresses. Treat null parameter as empty collection.- Specified by:
setPostalAddressesin interfaceUser- Parameters:
addresses- Is a Collection of PostAddress instances.- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getTelephoneNumbers
public Collection getTelephoneNumbers(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- Specified by:
getTelephoneNumbersin interfaceUser- Parameters:
phoneType- specifies the type of phone numbers to be returned. If phoneType is null, return all telephoneNumbers- Returns:
- Collection of TelephoneNumber instances. The Collection may be empty but not null.
- Throws:
JAXRException- If the JAXR provider encounters an internal error- See Also:
TelephoneNumber
-
setTelephoneNumbers
public void setTelephoneNumbers(Collection phoneNumbers) throws JAXRException
Set the various telephone numbers for this user. Treat null param as an empty collection.- Specified by:
setTelephoneNumbersin interfaceUser- Parameters:
phoneNumbers- the Collection of TelephoneNumbers to be set- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getEmailAddresses
public Collection getEmailAddresses() throws JAXRException
Get the user email addresses- Specified by:
getEmailAddressesin interfaceUser- Returns:
- Collection of EmailAddress instances. The Collection may be empty but not null.
- Throws:
JAXRException- If the JAXR provider encounters an internal error- See Also:
EmailAddress
-
setEmailAddresses
public void setEmailAddresses(Collection addresses) throws JAXRException
Set the user email addresses. Treat null param as an empty collection.- Specified by:
setEmailAddressesin interfaceUser- Parameters:
addresses- the Collection of EmailAddresses to be set- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getType
public String getType() throws JAXRException
Get user type- Specified by:
getTypein interfaceUser- Returns:
- the type for this User, which is an arbitrary String
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
setType
public void setType(String type) throws JAXRException
Set user type- Specified by:
setTypein interfaceUser- Parameters:
type- the type for this User, which is an arbitrary String- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getUrl
public URL getUrl() throws JAXRException
Level 1 method- Specified by:
getUrlin interfaceUser- Returns:
- the URL for this User's home page
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
setUrl
public void setUrl(URL url) throws JAXRException
Sets the URL to the web page for this contact.- Specified by:
setUrlin interfaceUser- Parameters:
url- the URL for this User's home page- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
setOrganization
public void setOrganization(Organization org) throws JAXRException
Internal method for setting user organization- Throws:
JAXRException
-
-