org.apache.ws.scout.registry.infomodel
Class OrganizationImpl

java.lang.Object
  extended by org.apache.ws.scout.registry.infomodel.ExtensibleObjectImpl
      extended by org.apache.ws.scout.registry.infomodel.RegistryObjectImpl
          extended by org.apache.ws.scout.registry.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

Organization Interface * Implements JAXR Interface. For futher details, look into the JAXR API Javadoc.

Author:
Anil Saldhana, Geir Magnusson Jr.

Constructor Summary
OrganizationImpl(javax.xml.registry.LifeCycleManager lifeCycleManager)
           
 
Method Summary
 void addChildOrganization(javax.xml.registry.infomodel.Organization organization)
           
 void addChildOrganizations(java.util.Collection collection)
           
 void addService(javax.xml.registry.infomodel.Service service)
           
 void addServices(java.util.Collection collection)
           
 void addUser(javax.xml.registry.infomodel.User user)
           
 void addUsers(java.util.Collection collection)
           
 int getChildOrganizationCount()
           
 java.util.Collection<javax.xml.registry.infomodel.Organization> getChildOrganizations()
           
 java.util.Collection<javax.xml.registry.infomodel.Organization> getDescendantOrganizations()
           
 javax.xml.registry.infomodel.Organization getParentOrganization()
           
 javax.xml.registry.infomodel.PostalAddress getPostalAddress()
           
 javax.xml.registry.infomodel.User getPrimaryContact()
           
 javax.xml.registry.infomodel.Organization getRootOrganization()
           
 java.util.Collection<javax.xml.registry.infomodel.Service> getServices()
           
 java.util.Collection<javax.xml.registry.infomodel.TelephoneNumber> getTelephoneNumbers(java.lang.String phoneType)
           
 java.util.Collection<javax.xml.registry.infomodel.User> getUsers()
           
 void removeChildOrganization(javax.xml.registry.infomodel.Organization organization)
           
 void removeChildOrganizations(java.util.Collection collection)
           
 void removeService(javax.xml.registry.infomodel.Service service)
           
 void removeServices(java.util.Collection collection)
           
 void removeUser(javax.xml.registry.infomodel.User user)
           
 void removeUsers(java.util.Collection collection)
           
 void setPostalAddress(javax.xml.registry.infomodel.PostalAddress postalAddress)
           
 void setPrimaryContact(javax.xml.registry.infomodel.User user)
           
 void setTelephoneNumbers(java.util.Collection collection)
           
 
Methods inherited from class org.apache.ws.scout.registry.infomodel.RegistryObjectImpl
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, equals, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getSubmittingOrganization, hashCode, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXML
 
Methods inherited from class org.apache.ws.scout.registry.infomodel.ExtensibleObjectImpl
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, 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, toXML
 
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
 

Constructor Detail

OrganizationImpl

public OrganizationImpl(javax.xml.registry.LifeCycleManager lifeCycleManager)
Method Detail

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 user)
                       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 user)
             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 collection)
              throws javax.xml.registry.JAXRException
Specified by:
addUsers in interface javax.xml.registry.infomodel.Organization
Throws:
javax.xml.registry.JAXRException

getUsers

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

removeUser

public void removeUser(javax.xml.registry.infomodel.User user)
                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 collection)
                 throws javax.xml.registry.JAXRException
Specified by:
removeUsers in interface javax.xml.registry.infomodel.Organization
Throws:
javax.xml.registry.JAXRException

getTelephoneNumbers

public java.util.Collection<javax.xml.registry.infomodel.TelephoneNumber> 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

setTelephoneNumbers

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

addService

public void addService(javax.xml.registry.infomodel.Service service)
                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 collection)
                 throws javax.xml.registry.JAXRException
Specified by:
addServices in interface javax.xml.registry.infomodel.Organization
Throws:
javax.xml.registry.JAXRException

getServices

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

removeService

public void removeService(javax.xml.registry.infomodel.Service service)
                   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 collection)
                    throws javax.xml.registry.JAXRException
Specified by:
removeServices 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

getDescendantOrganizations

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

addChildOrganization

public void addChildOrganization(javax.xml.registry.infomodel.Organization organization)
                          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 collection)
                           throws javax.xml.registry.JAXRException
Specified by:
addChildOrganizations 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<javax.xml.registry.infomodel.Organization> getChildOrganizations()
                                                                                      throws javax.xml.registry.JAXRException
Specified by:
getChildOrganizations in interface javax.xml.registry.infomodel.Organization
Throws:
javax.xml.registry.JAXRException

removeChildOrganization

public void removeChildOrganization(javax.xml.registry.infomodel.Organization organization)
                             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 collection)
                              throws javax.xml.registry.JAXRException
Specified by:
removeChildOrganizations in interface javax.xml.registry.infomodel.Organization
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 postalAddress)
                      throws javax.xml.registry.JAXRException
Specified by:
setPostalAddress in interface javax.xml.registry.infomodel.Organization
Throws:
javax.xml.registry.JAXRException


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.