com.softwareag.centrasite.appl.framework.beans.standard.impl
Class OrganizationImpl

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.beans.DynamicRegistryBean
      extended by com.softwareag.centrasite.appl.framework.beans.standard.impl.RegistryObjectImpl
          extended by com.softwareag.centrasite.appl.framework.beans.standard.impl.OrganizationImpl
All Implemented Interfaces:
RegistryBean, RevisionBean, ExtensibleObject, Organization, RegistryObject

public class OrganizationImpl
extends RegistryObjectImpl
implements Organization


Constructor Summary
OrganizationImpl()
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.util.Collection<Organization> getChildOrganizations()
          Gets all immediate children Organizations.
 java.util.Collection<Organization> getDescendantOrganizations()
          Gets all descendant Organizations.
 Organization getParentOrganization()
          Gets the parent (container) organization.
 PostalAddress getPostalAddress()
          Gets the Address for this Organization.
 User getPrimaryContact()
          Gets the primary Contact for this Organization.
 Organization getRootOrganization()
          Gets the root organization.
 java.util.Collection<Service> getServices()
          Gets all children Services.
 java.util.Collection<TelephoneNumber> getTelephoneNumbers()
          Gets the telephone numbers for this User that match the specified telephone number type.
 java.util.Collection<User> getUsers()
          Gets the Collection of Users affiliated with this Organization.
 int hashCode()
           
 void setChildOrganizations(java.util.Collection<Organization> organizations)
          Sets the children organizations
 void setDescendantOrganizations(java.util.Collection<Organization> descendantOrganizations)
          Sets the descendant Organizations
 void setParentOrganization(Organization parentOrganization)
          Sets parent Organization
 void setPostalAddress(PostalAddress address)
          Sets the address for this Organization.
 void setPrimaryContact(User primaryContact)
          Sets the primary contact for this Organization.
 void setRootOrganization(Organization rootOrganization)
          Sets the root Organization
 void setServices(java.util.Collection<Service> services)
          Sets the children Services for this Organization.
 void setTelephoneNumbers(java.util.Collection<TelephoneNumber> phoneNumbers)
          Sets the various telephone numbers for this user.
 void setUsers(java.util.Collection<User> users)
          Sets the children Services for this Organization.
 
Methods inherited from class com.softwareag.centrasite.appl.framework.beans.standard.impl.RegistryObjectImpl
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSlots, getSubmittingOrganization, setAssociatedObjects, setAssociations, setAuditTrail, setClassifications, setExternalIdentifiers, setExternalLinks, setObjectType, setRegistryPackages, setSlots, setSubmittingOrganization
 
Methods inherited from class com.softwareag.centrasite.appl.framework.beans.DynamicRegistryBean
getCheckpointName, getDescription, getIdentity, getKey, getName, isRevision, setCheckpointName, setDescription, setIdentity, setKey, setName, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.beans.standard.RegistryObject
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSubmittingOrganization, setAssociations, setClassifications, setExternalIdentifiers, setExternalLinks, setSubmittingOrganization
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.beans.RegistryBean
getDescription, getKey, getName, setDescription, setName
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.beans.standard.ExtensibleObject
getSlots, setSlots
 

Constructor Detail

OrganizationImpl

public OrganizationImpl()
Method Detail

getChildOrganizations

public java.util.Collection<Organization> getChildOrganizations()
Gets all immediate children Organizations.

Specified by:
getChildOrganizations in interface Organization
Returns:
Collection

getDescendantOrganizations

public java.util.Collection<Organization> getDescendantOrganizations()
Gets all descendant Organizations.

Specified by:
getDescendantOrganizations in interface Organization
Returns:
Collection

getParentOrganization

public Organization getParentOrganization()
Gets the parent (container) organization.

Specified by:
getParentOrganization in interface Organization
Returns:
Organization

setRootOrganization

public void setRootOrganization(Organization rootOrganization)
Sets the root Organization

Parameters:
rootOrganization -

getPrimaryContact

public User getPrimaryContact()
Gets the primary Contact for this Organization.

Specified by:
getPrimaryContact in interface Organization
Returns:
User

getRootOrganization

public Organization getRootOrganization()
Gets the root organization.

Specified by:
getRootOrganization in interface Organization
Returns:
Organization

getServices

public java.util.Collection<Service> getServices()
Gets all children Services.

Specified by:
getServices in interface Organization
Returns:
Collection

getUsers

public java.util.Collection<User> getUsers()
Gets the Collection of Users affiliated with this Organization.

Specified by:
getUsers in interface Organization
Returns:
Collection

setPrimaryContact

public void setPrimaryContact(User primaryContact)
Sets the primary contact for this Organization.

Specified by:
setPrimaryContact in interface Organization

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class RegistryObjectImpl

hashCode

public int hashCode()
Overrides:
hashCode in class RegistryObjectImpl

getPostalAddress

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

Specified by:
getPostalAddress in interface Organization
Returns:
PostalAddress

getTelephoneNumbers

public java.util.Collection<TelephoneNumber> getTelephoneNumbers()
Gets the telephone numbers for this User that match the specified telephone number type.

Specified by:
getTelephoneNumbers in interface Organization
Returns:
Collection

setPostalAddress

public void setPostalAddress(PostalAddress address)
Sets the address for this Organization.

Specified by:
setPostalAddress in interface Organization

setTelephoneNumbers

public void setTelephoneNumbers(java.util.Collection<TelephoneNumber> phoneNumbers)
Sets the various telephone numbers for this user.

Specified by:
setTelephoneNumbers in interface Organization

setUsers

public void setUsers(java.util.Collection<User> users)
Sets the children Services for this Organization.

Specified by:
setUsers in interface Organization

setChildOrganizations

public void setChildOrganizations(java.util.Collection<Organization> organizations)
Sets the children organizations

Specified by:
setChildOrganizations in interface Organization

setServices

public void setServices(java.util.Collection<Service> services)
Sets the children Services for this Organization.

Specified by:
setServices in interface Organization

setDescendantOrganizations

public void setDescendantOrganizations(java.util.Collection<Organization> descendantOrganizations)
Sets the descendant Organizations

Parameters:
descendantOrganizations -

setParentOrganization

public void setParentOrganization(Organization parentOrganization)
Sets parent Organization

Parameters:
parentOrganization -