public class OrganizationImpl extends RegistryObjectImpl implements Organization
Organization
.Constructor and Description |
---|
OrganizationImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
java.util.Collection<Organization> |
getChildOrganizations()
Gets all immediate child 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 child 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 child 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 child 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 child Services for this Organization.
|
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSlots, getSubmittingOrganization, setAssociatedObjects, setAssociations, setAuditTrail, setClassifications, setExternalIdentifiers, setExternalLinks, setObjectType, setRegistryPackages, setSlots, setSubmittingOrganization
getCheckpointName, getDescription, getIdentity, getKey, getName, isRevision, setCheckpointName, setDescription, setIdentity, setKey, setName, toString
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSubmittingOrganization, setAssociations, setClassifications, setExternalIdentifiers, setExternalLinks, setSubmittingOrganization
getDescription, getKey, getName, setDescription, setName
getSlots, setSlots
public java.util.Collection<Organization> getChildOrganizations()
getChildOrganizations
in interface Organization
public java.util.Collection<Organization> getDescendantOrganizations()
getDescendantOrganizations
in interface Organization
public Organization getParentOrganization()
getParentOrganization
in interface Organization
public void setRootOrganization(Organization rootOrganization)
rootOrganization
- the root Organization.public User getPrimaryContact()
getPrimaryContact
in interface Organization
public Organization getRootOrganization()
getRootOrganization
in interface Organization
public java.util.Collection<Service> getServices()
getServices
in interface Organization
public java.util.Collection<User> getUsers()
getUsers
in interface Organization
public void setPrimaryContact(User primaryContact)
setPrimaryContact
in interface Organization
primaryContact
- the primary contact for this Organization.public boolean equals(java.lang.Object other)
equals
in class RegistryObjectImpl
public int hashCode()
hashCode
in class RegistryObjectImpl
public PostalAddress getPostalAddress()
getPostalAddress
in interface Organization
public java.util.Collection<TelephoneNumber> getTelephoneNumbers()
getTelephoneNumbers
in interface Organization
public void setPostalAddress(PostalAddress address)
setPostalAddress
in interface Organization
address
- the address for this Organization.public void setTelephoneNumbers(java.util.Collection<TelephoneNumber> phoneNumbers)
setTelephoneNumbers
in interface Organization
phoneNumbers
- the various telephone numbers for this user.public void setUsers(java.util.Collection<User> users)
setUsers
in interface Organization
users
- the collection of users to the organization.public void setChildOrganizations(java.util.Collection<Organization> organizations)
setChildOrganizations
in interface Organization
organizations
- the collection of child organizations.public void setServices(java.util.Collection<Service> services)
setServices
in interface Organization
services
- the collection of services to the organization.public void setDescendantOrganizations(java.util.Collection<Organization> descendantOrganizations)
descendantOrganizations
- the collection of descendant Organizations.public void setParentOrganization(Organization parentOrganization)
parentOrganization
- the parent organization.