javax.xml.registry.infomodel
Interface Organization

All Superinterfaces:
ExtensibleObject, RegistryObject, java.io.Serializable

public interface Organization
extends RegistryObject

Organization instances provide information on organizations such as a Submitting Organization. Each Organization instance may have a reference to a parent Organization. In addition it may have a contact attribute defining the primary contact within the organization. An Organization also has an address attribute.

See Also:
Service

Method Summary
 void addChildOrganization(Organization organization)
          Add a child Organization
 void addChildOrganizations(java.util.Collection organization)
          Add a Collection of Organization children
 void addService(Service service)
          Add a child Service
 void addServices(java.util.Collection services)
          Add a Collection of Service children
 void addUser(User user)
          Add a User
 void addUsers(java.util.Collection users)
          Add a Collection of Users
 Organization getChildOrganizationAt(int index)
          Get a child Organization at a specified index
 int getChildOrganizationCount()
          Get number of children
 java.util.Collection getChildOrganizations()
          Get all immediate children Organizations
 java.util.Collection getDescendantOrganizations()
          Get all descendant Organizations
 Organization getParentOrganization()
          Get the parent (container) organization
 PostalAddress getPostalAddress()
          Gets the Address for this Organization.
 User getPrimaryContact()
          Gets the primary Contact for this Organization.
 Organization getRootOrganization()
          Get the root (container) organization
 Service getServiceAt(int index)
          Get a child Service at a specified index
 java.util.Collection getServices()
          Get all children Services
 java.util.Collection getTelephoneNumbers(Concept phoneType)
          Gets the telephone numbers for this User that match the specified telephone number type.
 User getUserAt(int index)
          Get User at a specified index
 java.util.Collection getUsers()
          Gets the Collection of Users affiliated with this Organization.
 void removeChildOrganization(Organization organization)
          Remove a child Organization
 void removeChildOrganizations(java.util.Collection organization)
          Remove a Collection of children Organizations
 void removeService(Service service)
          Remove a child Service
 void removeServices(java.util.Collection services)
          Remove a Collection of children Services
 void removeUser(User user)
          Remove a User
 void removeUsers(java.util.Collection users)
          Remove a Collection of Users
 void setPostalAddress(PostalAddress address)
          Sets the address
 void setPrimaryContact(User primaryContact)
          Sets the primary contact
 void setTelephoneNumbers(java.util.Collection phoneNumbers)
          Set the various telephone numbers for this user
 
Methods inherited from interface javax.xml.registry.infomodel.RegistryObject
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getConnection, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getName, getObjectType, getOrganization, getPackages, 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, getSlotAt, getSlots, removeSlot, removeSlots
 

Method Detail

getPostalAddress

public PostalAddress getPostalAddress()
                               throws JAXRException
Gets the Address for this Organization.

Capability Level: 0

setPostalAddress

public void setPostalAddress(PostalAddress address)
                      throws JAXRException
Sets the address

Capability Level: 0

getPrimaryContact

public User getPrimaryContact()
                       throws JAXRException
Gets the primary Contact for this Organization. Contact at organization.

Capability Level: 0

setPrimaryContact

public void setPrimaryContact(User primaryContact)
                       throws JAXRException
Sets the primary contact

Capability Level: 0

addUser

public void addUser(User user)
             throws JAXRException
Add a User

Capability Level: 0

addUsers

public void addUsers(java.util.Collection users)
              throws JAXRException
Add a Collection of Users

Capability Level: 0

removeUser

public void removeUser(User user)
                throws JAXRException
Remove a User

Capability Level: 0

removeUsers

public void removeUsers(java.util.Collection users)
                 throws JAXRException
Remove a Collection of Users

Capability Level: 0

getUserAt

public User getUserAt(int index)
               throws JAXRException
Get User at a specified index

Capability Level: 0

getUsers

public java.util.Collection getUsers()
                              throws JAXRException
Gets the Collection of Users affiliated with this Organization. One of these users is designated as the primary contact.

Capability Level: 0

getTelephoneNumbers

public java.util.Collection getTelephoneNumbers(Concept phoneType)
                                         throws JAXRException
Gets the telephone numbers for this User that match the specified telephone number type. If phoneType is null return all telephoneNumbers

Capability Level: 0
Parameters:
phoneType - is a Concept that specifies the type of phone numbers desires

setTelephoneNumbers

public void setTelephoneNumbers(java.util.Collection phoneNumbers)
                         throws JAXRException
Set the various telephone numbers for this user

Capability Level: 0

addService

public void addService(Service service)
                throws JAXRException
Add a child Service

Capability Level: 0

addServices

public void addServices(java.util.Collection services)
                 throws JAXRException
Add a Collection of Service children

Capability Level: 0

removeService

public void removeService(Service service)
                   throws JAXRException
Remove a child Service

Capability Level: 0

removeServices

public void removeServices(java.util.Collection services)
                    throws JAXRException
Remove a Collection of children Services

Capability Level: 0

getServiceAt

public Service getServiceAt(int index)
                     throws JAXRException
Get a child Service at a specified index

Capability Level: 0

getServices

public java.util.Collection getServices()
                                 throws JAXRException
Get all children Services

Capability Level: 0

addChildOrganization

public void addChildOrganization(Organization organization)
                          throws JAXRException
Add a child Organization

Capability Level: 1

addChildOrganizations

public void addChildOrganizations(java.util.Collection organization)
                           throws JAXRException
Add a Collection of Organization children

Capability Level: 1

removeChildOrganization

public void removeChildOrganization(Organization organization)
                             throws JAXRException
Remove a child Organization

Capability Level: 1

removeChildOrganizations

public void removeChildOrganizations(java.util.Collection organization)
                              throws JAXRException
Remove a Collection of children Organizations

getChildOrganizationAt

public Organization getChildOrganizationAt(int index)
                                    throws JAXRException
Get a child Organization at a specified index

Capability Level: 1

getChildOrganizationCount

public int getChildOrganizationCount()
                              throws JAXRException
Get number of children

Capability Level: 1

getChildOrganizations

public java.util.Collection getChildOrganizations()
                                           throws JAXRException
Get all immediate children Organizations

Capability Level: 1

getDescendantOrganizations

public java.util.Collection getDescendantOrganizations()
                                                throws JAXRException
Get all descendant Organizations

Capability Level: 1

getParentOrganization

public Organization getParentOrganization()
                                   throws JAXRException
Get the parent (container) organization

Capability Level: 1

getRootOrganization

public Organization getRootOrganization()
                                 throws JAXRException
Get the root (container) organization

Capability Level: 1