Name

public class Name extends AbstractID

Java class for name complex type.

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

<complexType name="name">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <element name="commonName" maxOccurs="unbounded">
          <complexType>
            <simpleContent>
              <extension base="<http://www.w3.org/2001/XMLSchema>string">
              </extension>
            </simpleContent>
          </complexType>
        </element>
        <element name="honorific" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
        <element name="forename" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
        <element name="otherName" type="{urn:ihe:iti:csd:2013}codedtype" maxOccurs="unbounded" minOccurs="0"/>
        <element name="surname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
        <element name="suffix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
      </sequence>
    </restriction>
  </complexContent>
</complexType>

Constructors

Name

public Name()

Name

public Name(List<String> commonNames)

Name

public Name(List<String> commonNames, String honorific, String forename, Set<CodedType> otherNames, String surname, String suffix)

Methods

equals

public boolean equals(Object o)

getCommonNames

public List<String> getCommonNames()

getForename

public String getForename()

getHonorific

public String getHonorific()

getOtherNames

public Set<CodedType> getOtherNames()

getSuffix

public String getSuffix()

getSurname

public String getSurname()

hashCode

public int hashCode()

setCommonNames

public void setCommonNames(List<String> commonNames)

setForename

public void setForename(String forename)

setHonorific

public void setHonorific(String honorific)

setOtherNames

public void setOtherNames(Set<CodedType> otherNames)

setSuffix

public void setSuffix(String suffix)

setSurname

public void setSurname(String surname)

toString

public String toString()