Class II

java.lang.Object
org.openehealth.ipf.commons.ihe.xacml20.stub.hl7v3.II
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CX

public class II extends Object implements Serializable

Java class for II complex type.

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

<complexType name="II">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <attribute name="root" use="required" type="{urn:hl7-org:v3}uid" />
      <attribute name="extension" type="{http://www.w3.org/2001/XMLSchema}string" />
    </restriction>
  </complexContent>
</complexType>
See Also:
  • Field Details

    • root

      protected String root
    • extension

      protected String extension
  • Constructor Details

    • II

      public II(String extension, String root)
      Parameters:
      extension - identifier ("ID extension" in HL7v3 terminology).
      root - OID of the assigning authority of the identifier ("ID root" in HL7v3 terminology).
    • II

      public II()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toHl7String

      public String toHl7String()
    • getRoot

      public String getRoot()
    • getExtension

      public String getExtension()
    • setRoot

      public void setRoot(String root)
    • setExtension

      public void setExtension(String extension)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object