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,javax.xml.registry.infomodel.ExtensibleObject,javax.xml.registry.infomodel.RegistryObject,javax.xml.registry.infomodel.User
public class UserImpl extends RegistryObjectImpl implements javax.xml.registry.infomodel.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 addressesjavax.xml.registry.infomodel.OrganizationgetOrganization()Gets the submitting organizationjavax.xml.registry.infomodel.PersonNamegetPersonName()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(javax.xml.registry.infomodel.Organization org)Internal method for setting user organizationvoidsetPersonName(javax.xml.registry.infomodel.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 javax.xml.registry.infomodel.Organization getOrganization() throws javax.xml.registry.JAXRExceptionGets the submitting organization- Specified by:
getOrganizationin interfacejavax.xml.registry.infomodel.User- Throws:
javax.xml.registry.JAXRException
-
getPersonName
public javax.xml.registry.infomodel.PersonName getPersonName() throws javax.xml.registry.JAXRExceptionName of contact person- Specified by:
getPersonNamein interfacejavax.xml.registry.infomodel.User- Throws:
javax.xml.registry.JAXRException
-
setPersonName
public void setPersonName(javax.xml.registry.infomodel.PersonName personName) throws javax.xml.registry.JAXRExceptionSets Name of contact person.- Specified by:
setPersonNamein interfacejavax.xml.registry.infomodel.User- Throws:
javax.xml.registry.JAXRException
-
getPostalAddresses
public Collection getPostalAddresses() throws javax.xml.registry.JAXRException
The postal addresses for this Contact.- Specified by:
getPostalAddressesin interfacejavax.xml.registry.infomodel.User- Throws:
javax.xml.registry.JAXRException
-
setPostalAddresses
public void setPostalAddresses(Collection addresses) throws javax.xml.registry.JAXRException
Sets the addresses. Treat null parameter as empty collection.- Specified by:
setPostalAddressesin interfacejavax.xml.registry.infomodel.User- Throws:
javax.xml.registry.JAXRException
-
getTelephoneNumbers
public Collection getTelephoneNumbers(String phoneType) throws javax.xml.registry.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 interfacejavax.xml.registry.infomodel.User- Throws:
javax.xml.registry.JAXRException
-
setTelephoneNumbers
public void setTelephoneNumbers(Collection phoneNumbers) throws javax.xml.registry.JAXRException
Set the various telephone numbers for this user. Treat null param as an empty collection.- Specified by:
setTelephoneNumbersin interfacejavax.xml.registry.infomodel.User- Throws:
javax.xml.registry.JAXRException
-
getEmailAddresses
public Collection getEmailAddresses() throws javax.xml.registry.JAXRException
Get the user email addresses- Specified by:
getEmailAddressesin interfacejavax.xml.registry.infomodel.User- Throws:
javax.xml.registry.JAXRException
-
setEmailAddresses
public void setEmailAddresses(Collection addresses) throws javax.xml.registry.JAXRException
Set the user email addresses. Treat null param as an empty collection.- Specified by:
setEmailAddressesin interfacejavax.xml.registry.infomodel.User- Throws:
javax.xml.registry.JAXRException
-
getType
public String getType() throws javax.xml.registry.JAXRException
Get user type- Specified by:
getTypein interfacejavax.xml.registry.infomodel.User- Throws:
javax.xml.registry.JAXRException
-
setType
public void setType(String type) throws javax.xml.registry.JAXRException
Set user type- Specified by:
setTypein interfacejavax.xml.registry.infomodel.User- Throws:
javax.xml.registry.JAXRException
-
getUrl
public URL getUrl() throws javax.xml.registry.JAXRException
Level 1 method- Specified by:
getUrlin interfacejavax.xml.registry.infomodel.User- Throws:
javax.xml.registry.JAXRException
-
setUrl
public void setUrl(URL url) throws javax.xml.registry.JAXRException
Sets the URL to the web page for this contact.- Specified by:
setUrlin interfacejavax.xml.registry.infomodel.User- Throws:
javax.xml.registry.JAXRException
-
setOrganization
public void setOrganization(javax.xml.registry.infomodel.Organization org) throws javax.xml.registry.JAXRExceptionInternal method for setting user organization- Throws:
javax.xml.registry.JAXRException
-
-