Package org.hl7.v3

Class ENXP

Direct Known Subclasses:
EnDelimiter, EnFamily, EnGiven, EnPrefix, EnSuffix

public class ENXP extends ST
A character string token representing a part of a name. May have a type code signifying the role of the part in the whole entity name, and a qualifier code for more detail about the name part type. Typical name parts for person names are given names, and family names, titles, etc.

Java class for ENXP complex type.

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

 <complexType name="ENXP">
   <complexContent>
     <extension base="{urn:hl7-org:v3}ST">
       <attribute name="partType" type="{urn:hl7-org:v3}EntityNamePartType" />
       <attribute name="qualifier" type="{urn:hl7-org:v3}set_EntityNamePartQualifier" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • partType

      protected String partType
    • qualifier

      protected List<String> qualifier
  • Constructor Details

    • ENXP

      public ENXP()
  • Method Details

    • getPartType

      public String getPartType()
      Gets the value of the partType property.
      Returns:
      possible object is String
    • setPartType

      public void setPartType(String value)
      Sets the value of the partType property.
      Parameters:
      value - allowed object is String
    • getQualifier

      public List<String> getQualifier()
      Gets the value of the qualifier 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 qualifier property.

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

          getQualifier().add(newItem);
       

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

    • withPartType

      public ENXP withPartType(String value)
    • withQualifier

      public ENXP withQualifier(String... values)
    • withQualifier

      public ENXP withQualifier(Collection<String> values)
    • withMediaType

      public ENXP withMediaType(String value)
      Overrides:
      withMediaType in class ST
    • withLanguage

      public ENXP withLanguage(String value)
      Overrides:
      withLanguage in class ST
    • withCompression

      public ENXP withCompression(CompressionAlgorithm value)
      Overrides:
      withCompression in class ST
    • withIntegrityCheck

      public ENXP withIntegrityCheck(byte[] value)
      Overrides:
      withIntegrityCheck in class ST
    • withIntegrityCheckAlgorithm

      public ENXP withIntegrityCheckAlgorithm(IntegrityCheckAlgorithm value)
      Overrides:
      withIntegrityCheckAlgorithm in class ST
    • withContent

      public ENXP withContent(String... values)
      Overrides:
      withContent in class ST
    • withContent

      public ENXP withContent(Collection<String> values)
      Overrides:
      withContent in class ST
    • withRepresentation

      public ENXP withRepresentation(BinaryDataEncoding value)
      Overrides:
      withRepresentation in class ST
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class ST
    • 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 ST