com.sun.xml.registry.ebxml.infomodel
Class UserImpl

java.lang.Object
  extended bycom.sun.xml.registry.ebxml.infomodel.ExtensibleObjectImpl
      extended bycom.sun.xml.registry.ebxml.infomodel.RegistryObjectImpl
          extended bycom.sun.xml.registry.ebxml.infomodel.UserImpl
All Implemented Interfaces:
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

Class Declaration for Class1

Author:
Farrukh S. Najmi

Field Summary
 
Fields inherited from class com.sun.xml.registry.ebxml.infomodel.RegistryObjectImpl
associations, auditTrail, bqm, classifications, dqm, externalIds, externalLinks, name, objectType, objectTypeStr, packages
 
Fields inherited from class com.sun.xml.registry.ebxml.infomodel.ExtensibleObjectImpl
i18nUtil, lcm
 
Constructor Summary
UserImpl(LifeCycleManagerImpl lcm)
           
UserImpl(LifeCycleManagerImpl lcm, org.oasis.ebxml.registry.bindings.rim.UserType ebUser)
           
 
Method Summary
 void addTelephoneNumber(javax.xml.registry.infomodel.TelephoneNumber _phone)
           
 void addTelephoneNumbers(java.util.Collection telephoneNumbers)
           
 java.util.Collection getEmailAddresses()
           
 javax.xml.registry.infomodel.InternationalString getName()
           
 javax.xml.registry.infomodel.Organization getOrganization()
           
 javax.xml.registry.infomodel.PersonName getPersonName()
           
 java.util.Collection getPostalAddresses()
           
 java.util.HashSet getRegistryObjectRefs()
          Used by LifeCycleManagerImpl.saveObjects
 java.util.Collection getTelephoneNumbers()
           
 java.util.Collection getTelephoneNumbers(java.lang.String phoneType)
           
 java.lang.String getType()
           
 java.net.URL getUrl()
           
 void removeAllTelephoneNumbers()
           
 void removeTelephoneNumber(javax.xml.registry.infomodel.TelephoneNumber _phone)
           
 void removeTelephoneNumbers(java.util.Collection _phones)
           
protected  void setBindingObject(org.oasis.ebxml.registry.bindings.rim.UserType ebUser)
           
 void setEmailAddresses(java.util.Collection par1)
           
 void setPersonName(javax.xml.registry.infomodel.PersonName par1)
           
 void setPostalAddresses(java.util.Collection par1)
           
 void setTelephoneNumbers(java.util.Collection _phones)
           
 void setType(java.lang.String par1)
           
 void setUrl(java.net.URL par1)
           
 org.oasis.ebxml.registry.bindings.rim.User toBindingObject()
          This method takes this JAXR infomodel object and returns an equivalent binding object for it.
 java.lang.String toXML()
           
 
Methods inherited from class com.sun.xml.registry.ebxml.infomodel.RegistryObjectImpl
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, compareTo, equals, getAssociatedObjects, getAssociations, getAssociationsAndAssociatedObjects, getAuditTrail, getClassificationConceptsByPath, getClassifications, getComposedObjects, getDescription, getExternalIdentifiers, getExternalLinks, getId, getKey, getLifeCycleManager, getLog, getObjectType, getOwner, getRegistryPackages, getSubmittingOrganization, removeAllClassifications, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setBindingObject, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setModified, setName, toString
 
Methods inherited from class com.sun.xml.registry.ebxml.infomodel.ExtensibleObjectImpl
addSlot, addSlots, getBusinessQueryManager, getDeclarativeQueryManager, getSlot, getSlots, isModified, isNew, removeAllSlots, removeSlot, removeSlots, setLoaded, setNew, setSlots
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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, getObjectType, getRegistryPackages, getSubmittingOrganization, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName
 
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
 

Constructor Detail

UserImpl

public UserImpl(LifeCycleManagerImpl lcm)
         throws javax.xml.registry.JAXRException

UserImpl

public UserImpl(LifeCycleManagerImpl lcm,
                org.oasis.ebxml.registry.bindings.rim.UserType ebUser)
         throws javax.xml.registry.JAXRException
Method Detail

toXML

public java.lang.String toXML()
                       throws javax.xml.registry.JAXRException
Specified by:
toXML in interface javax.xml.registry.infomodel.RegistryObject
Specified by:
toXML in class RegistryObjectImpl
Throws:
javax.xml.registry.JAXRException

getPersonName

public javax.xml.registry.infomodel.PersonName getPersonName()
                                                      throws javax.xml.registry.JAXRException
Specified by:
getPersonName in interface javax.xml.registry.infomodel.User
Throws:
javax.xml.registry.JAXRException

setPersonName

public void setPersonName(javax.xml.registry.infomodel.PersonName par1)
                   throws javax.xml.registry.JAXRException
Specified by:
setPersonName in interface javax.xml.registry.infomodel.User
Throws:
javax.xml.registry.JAXRException

getPostalAddresses

public java.util.Collection getPostalAddresses()
                                        throws javax.xml.registry.JAXRException
Specified by:
getPostalAddresses in interface javax.xml.registry.infomodel.User
Throws:
javax.xml.registry.JAXRException

setPostalAddresses

public void setPostalAddresses(java.util.Collection par1)
                        throws javax.xml.registry.JAXRException
Specified by:
setPostalAddresses in interface javax.xml.registry.infomodel.User
Throws:
javax.xml.registry.JAXRException

getUrl

public java.net.URL getUrl()
                    throws javax.xml.registry.JAXRException
Specified by:
getUrl in interface javax.xml.registry.infomodel.User
Throws:
javax.xml.registry.JAXRException

setUrl

public void setUrl(java.net.URL par1)
            throws javax.xml.registry.JAXRException
Specified by:
setUrl in interface javax.xml.registry.infomodel.User
Throws:
javax.xml.registry.JAXRException

addTelephoneNumber

public void addTelephoneNumber(javax.xml.registry.infomodel.TelephoneNumber _phone)
                        throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

addTelephoneNumbers

public void addTelephoneNumbers(java.util.Collection telephoneNumbers)
                         throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

removeTelephoneNumber

public void removeTelephoneNumber(javax.xml.registry.infomodel.TelephoneNumber _phone)
                           throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

removeTelephoneNumbers

public void removeTelephoneNumbers(java.util.Collection _phones)
                            throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

removeAllTelephoneNumbers

public void removeAllTelephoneNumbers()
                               throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

setTelephoneNumbers

public void setTelephoneNumbers(java.util.Collection _phones)
                         throws javax.xml.registry.JAXRException
Specified by:
setTelephoneNumbers in interface javax.xml.registry.infomodel.User
Throws:
javax.xml.registry.JAXRException

getTelephoneNumbers

public java.util.Collection getTelephoneNumbers()
                                         throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

getTelephoneNumbers

public java.util.Collection getTelephoneNumbers(java.lang.String phoneType)
                                         throws javax.xml.registry.JAXRException
Specified by:
getTelephoneNumbers in interface javax.xml.registry.infomodel.User
Throws:
javax.xml.registry.JAXRException

getEmailAddresses

public java.util.Collection getEmailAddresses()
                                       throws javax.xml.registry.JAXRException
Specified by:
getEmailAddresses in interface javax.xml.registry.infomodel.User
Throws:
javax.xml.registry.JAXRException

setEmailAddresses

public void setEmailAddresses(java.util.Collection par1)
                       throws javax.xml.registry.JAXRException
Specified by:
setEmailAddresses in interface javax.xml.registry.infomodel.User
Throws:
javax.xml.registry.JAXRException

getType

public java.lang.String getType()
                         throws javax.xml.registry.JAXRException
Specified by:
getType in interface javax.xml.registry.infomodel.User
Throws:
javax.xml.registry.JAXRException

setType

public void setType(java.lang.String par1)
             throws javax.xml.registry.JAXRException
Specified by:
setType in interface javax.xml.registry.infomodel.User
Throws:
javax.xml.registry.JAXRException

getOrganization

public javax.xml.registry.infomodel.Organization getOrganization()
                                                          throws javax.xml.registry.JAXRException
Specified by:
getOrganization in interface javax.xml.registry.infomodel.User
Throws:
javax.xml.registry.JAXRException

toBindingObject

public org.oasis.ebxml.registry.bindings.rim.User toBindingObject()
                                                           throws javax.xml.registry.JAXRException
This method takes this JAXR infomodel object and returns an equivalent binding object for it. Note it does the reverse of one of the constructors above.

Throws:
javax.xml.registry.JAXRException

setBindingObject

protected void setBindingObject(org.oasis.ebxml.registry.bindings.rim.UserType ebUser)
                         throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

getRegistryObjectRefs

public java.util.HashSet getRegistryObjectRefs()
Used by LifeCycleManagerImpl.saveObjects

Overrides:
getRegistryObjectRefs in class RegistryObjectImpl

getName

public javax.xml.registry.infomodel.InternationalString getName()
                                                         throws javax.xml.registry.JAXRException
Specified by:
getName in interface javax.xml.registry.infomodel.RegistryObject
Overrides:
getName in class RegistryObjectImpl
Throws:
javax.xml.registry.JAXRException


Copyright © 2001-2004 OASIS. All Rights Reserved.