Class Annotation
- java.lang.Object
-
- org.opencds.cqf.cql.engine.elm.execution.Executable
-
- org.cqframework.cql.elm.execution.CqlToElmBase
-
- org.cqframework.cql.elm.execution.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>
-
-
Constructor Summary
Constructors Constructor Description Annotation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(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)LocatorgetLocator()Gets the value of the locator property.NarrativegetS()Gets the value of the s property.java.util.List<Tag>getT()Gets the value of the t property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetLocator(Locator value)Sets the value of the locator property.voidsetS(Narrative value)Sets the value of the s property.java.lang.StringtoString()AnnotationwithLocator(Locator value)AnnotationwithS(Narrative value)AnnotationwithT(java.util.Collection<Tag> values)AnnotationwithT(Tag... values)-
Methods inherited from class org.opencds.cqf.cql.engine.elm.execution.Executable
evaluate, internalEvaluate
-
-
-
-
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
setmethod 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 isNarrative
-
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 isLocator
-
withT
public Annotation withT(Tag... values)
-
withT
public Annotation withT(java.util.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, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classCqlToElmBase
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classCqlToElmBase
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classCqlToElmBase
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCqlToElmBase
-
toString
public java.lang.String toString()
- Overrides:
toStringin classCqlToElmBase
-
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:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classCqlToElmBase
-
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:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classCqlToElmBase
-
-