Class CV

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

public class CV extends Object implements Serializable

Java class for CV complex type.

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

<complexType name="CV">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <element name="originalText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
      </sequence>
      <attribute name="code" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="codeSystem" use="required" type="{urn:hl7-org:v3}oid" />
      <attribute name="codeSystemName" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="codeSystemVersion" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="displayName" type="{http://www.w3.org/2001/XMLSchema}string" />
    </restriction>
  </complexContent>
</complexType>
See Also:
  • Field Details

    • originalText

      protected String originalText
    • code

      protected String code
    • codeSystem

      protected String codeSystem
    • codeSystemName

      protected String codeSystemName
    • codeSystemVersion

      protected String codeSystemVersion
    • displayName

      protected String displayName
  • Constructor Details

    • CV

      public CV()
  • Method Details

    • equals

      public boolean equals(Object obj)
      Compares two CV values. Two CV values are equal if their attributes code, codeSystem, and codeSystemVersion are equal. Attributes originalText and displayName are decorations intended solely for humans, and do not have to be evaluated programmatically.
      Overrides:
      equals in class Object
    • hashCode

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

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

      public String getOriginalText()
    • getCode

      public String getCode()
    • getCodeSystem

      public String getCodeSystem()
    • getCodeSystemName

      public String getCodeSystemName()
    • getCodeSystemVersion

      public String getCodeSystemVersion()
    • getDisplayName

      public String getDisplayName()
    • setOriginalText

      public void setOriginalText(String originalText)
    • setCode

      public void setCode(String code)
    • setCodeSystem

      public void setCodeSystem(String codeSystem)
    • setCodeSystemName

      public void setCodeSystemName(String codeSystemName)
    • setCodeSystemVersion

      public void setCodeSystemVersion(String codeSystemVersion)
    • setDisplayName

      public void setDisplayName(String displayName)