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

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.OrganizationImpl
All Implemented Interfaces:
javax.xml.registry.infomodel.ExtensibleObject, javax.xml.registry.infomodel.Organization, javax.xml.registry.infomodel.RegistryObject

public class OrganizationImpl
extends RegistryObjectImpl
implements javax.xml.registry.infomodel.Organization

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
OrganizationImpl(LifeCycleManagerImpl lcm)
           
OrganizationImpl(LifeCycleManagerImpl lcm, org.oasis.ebxml.registry.bindings.rim.OrganizationType ebOrg)
           
 
Method Summary
 void addChildOrganization(javax.xml.registry.infomodel.Organization par1)
           
 void addChildOrganizations(java.util.Collection par1)
           
 void addService(javax.xml.registry.infomodel.Service par1)
           
 void addServices(java.util.Collection par1)
           
 void addTelephoneNumber(javax.xml.registry.infomodel.TelephoneNumber _phone)
           
 void addTelephoneNumbers(java.util.Collection telephoneNumbers)
           
 void addUser(javax.xml.registry.infomodel.User par1)
           
 void addUsers(java.util.Collection par1)
           
 int getChildOrganizationCount()
           
 java.util.Collection getChildOrganizations()
           
 void getComposedObjects(java.util.HashSet composedObjects)
           
 java.util.Collection getDescendantOrganizations()
           
 javax.xml.registry.infomodel.Organization getParentOrganization()
           
 javax.xml.registry.infomodel.PostalAddress getPostalAddress()
           
 javax.xml.registry.infomodel.User getPrimaryContact()
           
 java.util.HashSet getRegistryObjectRefs()
          Used by LifeCycleManagerImpl.saveObjects
 javax.xml.registry.infomodel.Organization getRootOrganization()
           
 java.util.Collection getServices()
           
 java.util.Collection getTelephoneNumbers()
           
 java.util.Collection getTelephoneNumbers(java.lang.String phoneType)
           
 java.util.Collection getUsers()
           
 void removeAllTelephoneNumbers()
           
 void removeChildOrganization(javax.xml.registry.infomodel.Organization par1)
           
 void removeChildOrganizations(java.util.Collection par1)
           
 void removeService(javax.xml.registry.infomodel.Service par1)
           
 void removeServices(java.util.Collection par1)
           
 void removeTelephoneNumber(javax.xml.registry.infomodel.TelephoneNumber _phone)
           
 void removeTelephoneNumbers(java.util.Collection _phones)
           
 void removeUser(javax.xml.registry.infomodel.User par1)
           
 void removeUsers(java.util.Collection par1)
           
protected  void setBindingObject(org.oasis.ebxml.registry.bindings.rim.OrganizationType ebOrg)
           
 void setModified(boolean modified)
          Implementation private
 void setPostalAddress(javax.xml.registry.infomodel.PostalAddress par1)
           
 void setPrimaryContact(javax.xml.registry.infomodel.User primaryContact)
           
 void setTelephoneNumbers(java.util.Collection _phones)
           
 org.oasis.ebxml.registry.bindings.rim.Organization 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, getDescription, getExternalIdentifiers, getExternalLinks, getId, getKey, getLifeCycleManager, getLog, getName, getObjectType, getOwner, getRegistryPackages, getSubmittingOrganization, removeAllClassifications, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setBindingObject, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, 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, getName, 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

OrganizationImpl

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

OrganizationImpl

public OrganizationImpl(LifeCycleManagerImpl lcm,
                        org.oasis.ebxml.registry.bindings.rim.OrganizationType ebOrg)
                 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

getPostalAddress

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

setPostalAddress

public void setPostalAddress(javax.xml.registry.infomodel.PostalAddress par1)
                      throws javax.xml.registry.JAXRException
Specified by:
setPostalAddress in interface javax.xml.registry.infomodel.Organization
Throws:
javax.xml.registry.JAXRException

getPrimaryContact

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

setPrimaryContact

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

addUser

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

addUsers

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

removeUser

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

removeUsers

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

getUsers

public java.util.Collection getUsers()
                              throws javax.xml.registry.JAXRException
Specified by:
getUsers in interface javax.xml.registry.infomodel.Organization
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.Organization
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.Organization
Throws:
javax.xml.registry.JAXRException

addService

public void addService(javax.xml.registry.infomodel.Service par1)
                throws javax.xml.registry.JAXRException
Specified by:
addService in interface javax.xml.registry.infomodel.Organization
Throws:
javax.xml.registry.JAXRException

addServices

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

removeService

public void removeService(javax.xml.registry.infomodel.Service par1)
                   throws javax.xml.registry.JAXRException
Specified by:
removeService in interface javax.xml.registry.infomodel.Organization
Throws:
javax.xml.registry.JAXRException

removeServices

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

getServices

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

addChildOrganization

public void addChildOrganization(javax.xml.registry.infomodel.Organization par1)
                          throws javax.xml.registry.JAXRException
Specified by:
addChildOrganization in interface javax.xml.registry.infomodel.Organization
Throws:
javax.xml.registry.JAXRException

addChildOrganizations

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

removeChildOrganization

public void removeChildOrganization(javax.xml.registry.infomodel.Organization par1)
                             throws javax.xml.registry.JAXRException
Specified by:
removeChildOrganization in interface javax.xml.registry.infomodel.Organization
Throws:
javax.xml.registry.JAXRException

removeChildOrganizations

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

getChildOrganizationCount

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

getChildOrganizations

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

getDescendantOrganizations

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

getParentOrganization

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

getRootOrganization

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

getComposedObjects

public void getComposedObjects(java.util.HashSet composedObjects)
                        throws javax.xml.registry.JAXRException
Overrides:
getComposedObjects in class RegistryObjectImpl
Throws:
javax.xml.registry.JAXRException

toBindingObject

public org.oasis.ebxml.registry.bindings.rim.Organization 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.OrganizationType ebOrg)
                         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

setModified

public void setModified(boolean modified)
Description copied from class: RegistryObjectImpl
Implementation private

Overrides:
setModified in class RegistryObjectImpl


Copyright © 2001-2004 OASIS. All Rights Reserved.