Class Code

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Direct Known Subclasses:
CodeEvaluator

public class Code extends Expression implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
The Code type represents a literal code selector.

Java class for Code complex type.

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

 <complexType name="Code">
   <complexContent>
     <extension base="{urn:hl7-org:elm:r1}Expression">
       <sequence>
         <element name="system" type="{urn:hl7-org:elm:r1}CodeSystemRef"/>
       </sequence>
       <attribute name="code" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="display" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Code

      public Code()
  • Method Details

    • getSystem

      public CodeSystemRef getSystem()
      Gets the value of the system property.
      Returns:
      possible object is CodeSystemRef
    • setSystem

      public void setSystem(CodeSystemRef value)
      Sets the value of the system property.
      Parameters:
      value - allowed object is CodeSystemRef
    • getCode

      public String getCode()
      Gets the value of the code property.
      Returns:
      possible object is String
    • setCode

      public void setCode(String value)
      Sets the value of the code property.
      Parameters:
      value - allowed object is String
    • getDisplay

      public String getDisplay()
      Gets the value of the display property.
      Returns:
      possible object is String
    • setDisplay

      public void setDisplay(String value)
      Sets the value of the display property.
      Parameters:
      value - allowed object is String
    • withSystem

      public Code withSystem(CodeSystemRef value)
    • withCode

      public Code withCode(String value)
    • withDisplay

      public Code withDisplay(String value)
    • withAnnotation

      public Code withAnnotation(CqlToElmBase... values)
      Overrides:
      withAnnotation in class Expression
    • withAnnotation

      public Code withAnnotation(Collection<CqlToElmBase> values)
      Overrides:
      withAnnotation in class Expression
    • withResultTypeSpecifier

      public Code withResultTypeSpecifier(TypeSpecifier value)
      Overrides:
      withResultTypeSpecifier in class Expression
    • withLocalId

      public Code withLocalId(String value)
      Overrides:
      withLocalId in class Expression
    • withLocator

      public Code withLocator(String value)
      Overrides:
      withLocator in class Expression
    • withResultTypeName

      public Code withResultTypeName(QName value)
      Overrides:
      withResultTypeName in class Expression
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      Overrides:
      equals in class Expression
    • equals

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

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      Overrides:
      hashCode in class Expression
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Expression
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class Expression
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class Expression