Package org.hl7.v3

Class EN

java.lang.Object
org.hl7.v3.EN
Direct Known Subclasses:
ON, PN, TN

public class EN extends Object
A name for a person, organization, place or thing. A sequence of name parts, such as given name or family name, prefix, suffix, etc. Examples for entity name values are "Jim Bob Walton, Jr.", "Health Level Seven, Inc.", "Lake Tahoe", etc. An entity name may be as simple as a character string or may consist of several entity name parts, such as, "Jim", "Bob", "Walton", and "Jr.", "Health Level Seven" and "Inc.", "Lake" and "Tahoe".

Java class for EN complex type.

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

 <complexType name="EN">
   <complexContent>
     <extension base="{urn:hl7-org:v3}ANY">
       <sequence>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="delimiter" type="{urn:hl7-org:v3}en.delimiter"/>
           <element name="family" type="{urn:hl7-org:v3}en.family"/>
           <element name="given" type="{urn:hl7-org:v3}en.given"/>
           <element name="prefix" type="{urn:hl7-org:v3}en.prefix"/>
           <element name="suffix" type="{urn:hl7-org:v3}en.suffix"/>
         </choice>
         <element name="validTime" type="{urn:hl7-org:v3}IVL_TS" minOccurs="0"/>
       </sequence>
       <attribute name="use" type="{urn:hl7-org:v3}set_EntityNameUse" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • EN

      public EN()
  • Method Details

    • getContent

      public List<Serializable> getContent()
      A name for a person, organization, place or thing. A sequence of name parts, such as given name or family name, prefix, suffix, etc. Examples for entity name values are "Jim Bob Walton, Jr.", "Health Level Seven, Inc.", "Lake Tahoe", etc. An entity name may be as simple as a character string or may consist of several entity name parts, such as, "Jim", "Bob", "Walton", and "Jr.", "Health Level Seven" and "Inc.", "Lake" and "Tahoe". Gets the value of the content property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the content property.

      For example, to add a new item, do as follows:

          getContent().add(newItem);
       

      Objects of the following type(s) are allowed in the list JAXBElement<EnDelimiter> JAXBElement<EnFamily> JAXBElement<EnGiven> JAXBElement<EnPrefix> JAXBElement<EnSuffix> JAXBElement<IVLTS> String

    • getUse

      public List<String> getUse()
      Gets the value of the use property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the use property.

      For example, to add a new item, do as follows:

          getUse().add(newItem);
       

      Objects of the following type(s) are allowed in the list String

    • withContent

      public EN withContent(Serializable... values)
    • withContent

      public EN withContent(Collection<Serializable> values)
    • withUse

      public EN withUse(String... values)
    • withUse

      public EN withUse(Collection<String> values)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
      Overrides:
      toString in class Object