Class RelationshipClause
java.lang.Object
org.opencds.cqf.cql.engine.elm.execution.Executable
org.cqframework.cql.elm.execution.Element
org.cqframework.cql.elm.execution.AliasedQuerySource
org.cqframework.cql.elm.execution.RelationshipClause
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public abstract class RelationshipClause
extends AliasedQuerySource
implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
The RelationshipClause element allows related sources to be used to restrict the elements included from another source in a query scope. Note that the elements referenced by the relationship clause can only be accessed within the suchThat condition, and that elements of the related source are not included in the query scope.
Java class for RelationshipClause complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RelationshipClause">
<complexContent>
<extension base="{urn:hl7-org:elm:r1}AliasedQuerySource">
<sequence>
<element name="suchThat" type="{urn:hl7-org:elm:r1}Expression"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsFields inherited from class org.cqframework.cql.elm.execution.AliasedQuerySource
alias, 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 suchThat property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetSuchThat(Expression value) Sets the value of the suchThat property.toString()withAnnotation(Collection<CqlToElmBase> values) withAnnotation(CqlToElmBase... values) withExpression(Expression value) withLocalId(String value) withLocator(String value) withResultTypeName(QName value) withSuchThat(Expression value) Methods inherited from class org.cqframework.cql.elm.execution.AliasedQuerySource
getAlias, getExpression, setAlias, setExpressionMethods 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
-
suchThat
-
-
Constructor Details
-
RelationshipClause
public RelationshipClause()
-
-
Method Details
-
getSuchThat
Gets the value of the suchThat property.- Returns:
- possible object is
Expression
-
setSuchThat
Sets the value of the suchThat property.- Parameters:
value- allowed object isExpression
-
withSuchThat
-
withExpression
- Overrides:
withExpressionin classAliasedQuerySource
-
withAlias
- Overrides:
withAliasin classAliasedQuerySource
-
withAnnotation
- Overrides:
withAnnotationin classAliasedQuerySource
-
withAnnotation
- Overrides:
withAnnotationin classAliasedQuerySource
-
withResultTypeSpecifier
- Overrides:
withResultTypeSpecifierin classAliasedQuerySource
-
withLocalId
- Overrides:
withLocalIdin classAliasedQuerySource
-
withLocator
- Overrides:
withLocatorin classAliasedQuerySource
-
withResultTypeName
- Overrides:
withResultTypeNamein classAliasedQuerySource
-
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 classAliasedQuerySource
-
equals
- Overrides:
equalsin classAliasedQuerySource
-
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 classAliasedQuerySource
-
hashCode
public int hashCode()- Overrides:
hashCodein classAliasedQuerySource
-
toString
- Overrides:
toStringin classAliasedQuerySource
-
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 classAliasedQuerySource
-
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 classAliasedQuerySource
-