Person

public class Person extends AbstractID

Java class for person complex type.

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

<complexType name="person">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <element name="name" maxOccurs="unbounded">
          <complexType>
            <complexContent>
              <extension base="{urn:ihe:iti:csd:2013}name">
                <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
              </extension>
            </complexContent>
          </complexType>
        </element>
        <element name="contactPoint" type="{urn:ihe:iti:csd:2013}contactPoint" maxOccurs="unbounded" minOccurs="0"/>
        <element name="address" type="{urn:ihe:iti:csd:2013}address" maxOccurs="unbounded" minOccurs="0"/>
        <element name="gender" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
        <element name="dateOfBirth" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
      </sequence>
    </restriction>
  </complexContent>
</complexType>

Constructors

Person

public Person()

Person

public Person(Set<PersonName> names)

Person

public Person(Set<PersonName> names, Set<ContactPoint> contactPoints, Set<Address> addresses, String gender, DateTime dateOfBirth)

Methods

equals

public boolean equals(Object o)

getAddresses

public Set<Address> getAddresses()

getContactPoints

public Set<ContactPoint> getContactPoints()

getDateOfBirth

public DateTime getDateOfBirth()

getGender

public String getGender()

getNames

public Set<PersonName> getNames()

hashCode

public int hashCode()

setAddresses

public void setAddresses(Set<Address> addresses)

setContactPoints

public void setContactPoints(Set<ContactPoint> contactPoints)

setDateOfBirth

public void setDateOfBirth(DateTime dateOfBirth)

setGender

public void setGender(String gender)

setNames

public void setNames(Set<PersonName> names)

toString

public String toString()