Organization

public class Organization extends BaseMainEntity

Java class for organization complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="organization">
  <complexContent>
    <extension base="{urn:ihe:iti:csd:2013}uniqueID">
      <sequence>
        <element name="otherID" type="{urn:ihe:iti:csd:2013}otherID" maxOccurs="unbounded" minOccurs="0"/>
        <element name="codedType" type="{urn:ihe:iti:csd:2013}codedtype" maxOccurs="unbounded"/>
        <element name="primaryName" type="{http://www.w3.org/2001/XMLSchema}string"/>
        <element name="otherName" maxOccurs="unbounded" minOccurs="0">
          <complexType>
            <simpleContent>
              <extension base="<http://www.w3.org/2001/XMLSchema>string">
                <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
              </extension>
            </simpleContent>
          </complexType>
        </element>
        <element name="address" type="{urn:ihe:iti:csd:2013}address" maxOccurs="unbounded" minOccurs="0"/>
        <element name="contact" maxOccurs="unbounded" minOccurs="0">
          <complexType>
            <complexContent>
              <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                <choice>
                  <element name="provider" type="{urn:ihe:iti:csd:2013}uniqueID"/>
                  <element name="person" type="{urn:ihe:iti:csd:2013}person"/>
                </choice>
              </restriction>
            </complexContent>
          </complexType>
        </element>
        <element name="credential" type="{urn:ihe:iti:csd:2013}credential" maxOccurs="unbounded" minOccurs="0"/>
        <element name="language" type="{urn:ihe:iti:csd:2013}codedtype" maxOccurs="unbounded" minOccurs="0"/>
        <element name="specialization" type="{urn:ihe:iti:csd:2013}codedtype" maxOccurs="unbounded" minOccurs="0"/>
        <element name="contactPoint" type="{urn:ihe:iti:csd:2013}contactPoint" maxOccurs="unbounded" minOccurs="0"/>
        <element name="parent" type="{urn:ihe:iti:csd:2013}uniqueID" minOccurs="0"/>
        <element name="extension" type="{urn:ihe:iti:csd:2013}extension" maxOccurs="unbounded" minOccurs="0"/>
        <element name="record" type="{urn:ihe:iti:csd:2013}record"/>
      </sequence>
    </extension>
  </complexContent>
</complexType>

Constructors

Organization

public Organization()

Organization

public Organization(String entityID, Set<CodedType> codedTypes, String primaryName, Record record)

Organization

public Organization(String entityID, Set<Credential> credentials, String parentOrganization, Set<CodedType> specializations, Set<OtherID> otherIDs, String primaryName, Set<OtherName> otherNames, Set<Address> addresses, Set<OrganizationContact> contacts, Set<CodedType> languages, Set<ContactPoint> contactPoints, Set<CodedType> codedTypes, Set<Extension> extensions, Record record)

Methods

equals

public boolean equals(Object o)

getAddresses

public Set<Address> getAddresses()

getCodedTypes

public Set<CodedType> getCodedTypes()

getContactPoints

public Set<ContactPoint> getContactPoints()

getContacts

public Set<OrganizationContact> getContacts()

getCredentials

public Set<Credential> getCredentials()

getExtensions

public Set<Extension> getExtensions()

getLanguages

public Set<CodedType> getLanguages()

getOtherIDs

public Set<OtherID> getOtherIDs()

getOtherNames

public Set<OtherName> getOtherNames()

getParent

public UniqueID getParent()

getParentOrganization

public String getParentOrganization()

getPrimaryName

public String getPrimaryName()

getSpecializations

public Set<CodedType> getSpecializations()

hashCode

public int hashCode()

setAddresses

public void setAddresses(Set<Address> addresses)

setCodedTypes

public void setCodedTypes(Set<CodedType> codedTypes)

setContactPoints

public void setContactPoints(Set<ContactPoint> contactPoints)

setContacts

public void setContacts(Set<OrganizationContact> contacts)

setCredentials

public void setCredentials(Set<Credential> credentials)

setExtensions

public void setExtensions(Set<Extension> extensions)

setLanguages

public void setLanguages(Set<CodedType> languages)

setOtherIDs

public void setOtherIDs(Set<OtherID> otherIDs)

setOtherNames

public void setOtherNames(Set<OtherName> otherNames)

setParent

public void setParent(UniqueID parent)

setParentOrganization

public void setParentOrganization(String parentOrganization)

setPrimaryName

public void setPrimaryName(String primaryName)

setSpecializations

public void setSpecializations(Set<CodedType> specializations)

toString

public String toString()