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 Summary

      Fields 
      Modifier and Type Field Description
      protected Locator locator  
      protected Narrative s  
      protected java.util.List<Tag> t  
    • Constructor Summary

      Constructors 
      Constructor Description
      Annotation()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)  
      java.lang.StringBuilder appendFields​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)  
      boolean equals​(java.lang.Object object)  
      boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)  
      Locator getLocator()
      Gets the value of the locator property.
      Narrative getS()
      Gets the value of the s property.
      java.util.List<Tag> getT()
      Gets the value of the t property.
      int hashCode()  
      int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)  
      void setLocator​(Locator value)
      Sets the value of the locator property.
      void setS​(Narrative value)
      Sets the value of the s property.
      java.lang.String toString()  
      Annotation withLocator​(Locator value)  
      Annotation withS​(Narrative value)  
      Annotation withT​(java.util.Collection<Tag> values)  
      Annotation withT​(Tag... values)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Annotation

        public Annotation()
    • Method Detail

      • getT

        public java.util.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​(java.util.Collection<Tag> values)
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              java.lang.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​(java.lang.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
      • append

        public java.lang.StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                              java.lang.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 java.lang.StringBuilder appendFields​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                                    java.lang.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