Class Query
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
- Direct Known Subclasses:
QueryEvaluator
Java class for Query complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Query">
<complexContent>
<extension base="{urn:hl7-org:elm:r1}Expression">
<sequence>
<element name="source" type="{urn:hl7-org:elm:r1}AliasedQuerySource" maxOccurs="unbounded"/>
<element name="let" type="{urn:hl7-org:elm:r1}LetClause" maxOccurs="unbounded" minOccurs="0"/>
<element name="relationship" type="{urn:hl7-org:elm:r1}RelationshipClause" maxOccurs="unbounded" minOccurs="0"/>
<element name="where" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
<element name="return" type="{urn:hl7-org:elm:r1}ReturnClause" minOccurs="0"/>
<element name="aggregate" type="{urn:hl7-org:elm:r1}AggregateClause" minOccurs="0"/>
<element name="sort" type="{urn:hl7-org:elm:r1}SortClause" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ReturnClauseprotected AggregateClauseprotected List<RelationshipClause>protected SortClauseprotected List<AliasedQuerySource>protected ExpressionFields inherited from class org.cqframework.cql.elm.execution.Element
annotation, localId, locator, resultTypeName, resultTypeSpecifier -
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 aggregate property.getLet()Gets the value of the let property.Gets the value of the relationship property.Gets the value of the return property.getSort()Gets the value of the sort property.Gets the value of the source property.getWhere()Gets the value of the where property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetAggregate(AggregateClause value) Sets the value of the aggregate property.voidsetReturn(ReturnClause value) Sets the value of the return property.voidsetSort(SortClause value) Sets the value of the sort property.voidsetWhere(Expression value) Sets the value of the where property.toString()withAggregate(AggregateClause value) withAnnotation(Collection<CqlToElmBase> values) withAnnotation(CqlToElmBase... values) withLet(Collection<LetClause> values) withLocalId(String value) withLocator(String value) withRelationship(Collection<RelationshipClause> values) withRelationship(RelationshipClause... values) withResultTypeName(QName value) withReturn(ReturnClause value) withSort(SortClause value) withSource(Collection<AliasedQuerySource> values) withSource(AliasedQuerySource... values) withWhere(Expression value) Methods inherited from class org.cqframework.cql.elm.execution.Element
getAnnotation, getLocalId, getLocator, getResultTypeName, getResultTypeSpecifier, setLocalId, setLocator, setResultTypeName, setResultTypeSpecifierMethods inherited from class org.opencds.cqf.cql.engine.elm.execution.Executable
evaluate, internalEvaluate
-
Field Details
-
source
-
let
-
relationship
-
where
-
_return
-
aggregate
-
sort
-
-
Constructor Details
-
Query
public Query()
-
-
Method Details
-
getSource
Gets the value of the source 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 source property.For example, to add a new item, do as follows:
getSource().add(newItem);Objects of the following type(s) are allowed in the list
AliasedQuerySource -
getLet
Gets the value of the let 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 let property.For example, to add a new item, do as follows:
getLet().add(newItem);Objects of the following type(s) are allowed in the list
LetClause -
getRelationship
Gets the value of the relationship 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 relationship property.For example, to add a new item, do as follows:
getRelationship().add(newItem);Objects of the following type(s) are allowed in the list
RelationshipClause -
getWhere
Gets the value of the where property.- Returns:
- possible object is
Expression
-
setWhere
Sets the value of the where property.- Parameters:
value- allowed object isExpression
-
getReturn
Gets the value of the return property.- Returns:
- possible object is
ReturnClause
-
setReturn
Sets the value of the return property.- Parameters:
value- allowed object isReturnClause
-
getAggregate
Gets the value of the aggregate property.- Returns:
- possible object is
AggregateClause
-
setAggregate
Sets the value of the aggregate property.- Parameters:
value- allowed object isAggregateClause
-
getSort
Gets the value of the sort property.- Returns:
- possible object is
SortClause
-
setSort
Sets the value of the sort property.- Parameters:
value- allowed object isSortClause
-
withSource
-
withSource
-
withLet
-
withLet
-
withRelationship
-
withRelationship
-
withWhere
-
withReturn
-
withAggregate
-
withSort
-
withAnnotation
- Overrides:
withAnnotationin classExpression
-
withAnnotation
- Overrides:
withAnnotationin classExpression
-
withResultTypeSpecifier
- Overrides:
withResultTypeSpecifierin classExpression
-
withLocalId
- Overrides:
withLocalIdin classExpression
-
withLocator
- Overrides:
withLocatorin classExpression
-
withResultTypeName
- Overrides:
withResultTypeNamein classExpression
-
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- Overrides:
equalsin classExpression
-
equals
- Overrides:
equalsin classExpression
-
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 classExpression
-
hashCode
public int hashCode()- Overrides:
hashCodein classExpression
-
toString
- Overrides:
toStringin classExpression
-
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- Overrides:
appendin classExpression
-
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- Overrides:
appendFieldsin classExpression
-