Class Annotation

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class Annotation extends CqlToElmBase implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

Java class for Annotation complex type.

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

 <complexType name="Annotation">
   <complexContent>
     <extension base="{urn:hl7-org:cql-annotations:r1}CqlToElmBase">
       <sequence>
         <element name="t" type="{urn:hl7-org:cql-annotations:r1}Tag" maxOccurs="unbounded" minOccurs="0"/>
         <element name="s" type="{urn:hl7-org:cql-annotations:r1}Narrative" minOccurs="0"/>
         <element name="locator" type="{urn:hl7-org:cql-annotations:r1}Locator" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Annotation

      public Annotation()
  • Method Details

    • getT

      public List<Tag> getT()
      Gets the value of the t 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 JAXB object. This is why there is not a set method for the t property.

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

          getT().add(newItem);
       

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

    • getS

      public Narrative getS()
      Gets the value of the s property.
      Returns:
      possible object is Narrative
    • setS

      public void setS(Narrative value)
      Sets the value of the s property.
      Parameters:
      value - allowed object is Narrative
    • getLocator

      public Locator getLocator()
      Gets the value of the locator property.
      Returns:
      possible object is Locator
    • setLocator

      public void setLocator(Locator value)
      Sets the value of the locator property.
      Parameters:
      value - allowed object is Locator
    • withT

      public Annotation withT(Tag... values)
    • withT

      public Annotation withT(Collection<Tag> values)
    • withS

      public Annotation withS(Narrative value)
    • withLocator

      public Annotation withLocator(Locator value)
    • 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 CqlToElmBase
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class CqlToElmBase
    • 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 CqlToElmBase
    • hashCode

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

      public String toString()
      Overrides:
      toString in class CqlToElmBase
    • 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 CqlToElmBase
    • 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 CqlToElmBase