Class Element
java.lang.Object
org.opencds.cqf.cql.engine.elm.execution.Executable
org.cqframework.cql.elm.execution.Element
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
- Direct Known Subclasses:
AggregateClause,AliasedQuerySource,CaseItem,CodeDef,CodeFilterElement,CodeSystemDef,ConceptDef,ContextDef,DateFilterElement,Expression,ExpressionDef,IncludeDef,IncludeElement,LetClause,Library,OperandDef,OtherFilterElement,ParameterDef,ReturnClause,SortByItem,SortClause,TupleElementDefinition,TypeSpecifier,UsingDef,ValueSetDef
public abstract class Element
extends Executable
implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
The Element type defines the abstract base type for all library elements in ELM.
Java class for Element complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Element">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="annotation" type="{urn:hl7-org:cql-annotations:r1}CqlToElmBase" maxOccurs="unbounded" minOccurs="0"/>
<element name="resultTypeSpecifier" type="{urn:hl7-org:elm:r1}TypeSpecifier" minOccurs="0"/>
</sequence>
<attribute name="localId" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="locator" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="resultTypeName" type="{http://www.w3.org/2001/XMLSchema}QName" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<CqlToElmBase>protected Stringprotected Stringprotected QNameprotected TypeSpecifier -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the annotation property.Gets the value of the localId property.Gets the value of the locator property.Gets the value of the resultTypeName property.Gets the value of the resultTypeSpecifier property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetLocalId(String value) Sets the value of the localId property.voidsetLocator(String value) Sets the value of the locator property.voidsetResultTypeName(QName value) Sets the value of the resultTypeName property.voidSets the value of the resultTypeSpecifier property.toString()withAnnotation(Collection<CqlToElmBase> values) withAnnotation(CqlToElmBase... values) withLocalId(String value) withLocator(String value) withResultTypeName(QName value) Methods inherited from class org.opencds.cqf.cql.engine.elm.execution.Executable
evaluate, internalEvaluate
-
Field Details
-
annotation
-
resultTypeSpecifier
-
localId
-
locator
-
resultTypeName
-
-
Constructor Details
-
Element
public Element()
-
-
Method Details
-
getAnnotation
Gets the value of the annotation 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 annotation property.For example, to add a new item, do as follows:
getAnnotation().add(newItem);Objects of the following type(s) are allowed in the list
CqlToElmBase -
getResultTypeSpecifier
Gets the value of the resultTypeSpecifier property.- Returns:
- possible object is
TypeSpecifier
-
setResultTypeSpecifier
Sets the value of the resultTypeSpecifier property.- Parameters:
value- allowed object isTypeSpecifier
-
getLocalId
Gets the value of the localId property.- Returns:
- possible object is
String
-
setLocalId
Sets the value of the localId property.- Parameters:
value- allowed object isString
-
getLocator
Gets the value of the locator property.- Returns:
- possible object is
String
-
setLocator
Sets the value of the locator property.- Parameters:
value- allowed object isString
-
getResultTypeName
Gets the value of the resultTypeName property.- Returns:
- possible object is
QName
-
setResultTypeName
Sets the value of the resultTypeName property.- Parameters:
value- allowed object isQName
-
withAnnotation
-
withAnnotation
-
withResultTypeSpecifier
-
withLocalId
-
withLocator
-
withResultTypeName
-
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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
-
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
-
hashCode
public int hashCode() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-