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
Fields Modifier and Type Field Description protected ExpressionsuchThat-
Fields inherited from class org.cqframework.cql.elm.execution.AliasedQuerySource
alias, expression
-
Fields inherited from class org.cqframework.cql.elm.execution.Element
annotation, localId, locator, resultTypeName, resultTypeSpecifier
-
-
Constructor Summary
Constructors Constructor Description RelationshipClause()
-
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)ExpressiongetSuchThat()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.java.lang.StringtoString()RelationshipClausewithAlias(java.lang.String value)RelationshipClausewithAnnotation(java.util.Collection<CqlToElmBase> values)RelationshipClausewithAnnotation(CqlToElmBase... values)RelationshipClausewithExpression(Expression value)RelationshipClausewithLocalId(java.lang.String value)RelationshipClausewithLocator(java.lang.String value)RelationshipClausewithResultTypeName(javax.xml.namespace.QName value)RelationshipClausewithResultTypeSpecifier(TypeSpecifier value)RelationshipClausewithSuchThat(Expression value)-
Methods inherited from class org.cqframework.cql.elm.execution.AliasedQuerySource
getAlias, getExpression, setAlias, setExpression
-
Methods inherited from class org.cqframework.cql.elm.execution.Element
getAnnotation, getLocalId, getLocator, getResultTypeName, getResultTypeSpecifier, setLocalId, setLocator, setResultTypeName, setResultTypeSpecifier
-
Methods inherited from class org.opencds.cqf.cql.engine.elm.execution.Executable
evaluate, internalEvaluate
-
-
-
-
Field Detail
-
suchThat
protected Expression suchThat
-
-
Method Detail
-
getSuchThat
public Expression getSuchThat()
Gets the value of the suchThat property.- Returns:
- possible object is
Expression
-
setSuchThat
public void setSuchThat(Expression value)
Sets the value of the suchThat property.- Parameters:
value- allowed object isExpression
-
withSuchThat
public RelationshipClause withSuchThat(Expression value)
-
withExpression
public RelationshipClause withExpression(Expression value)
- Overrides:
withExpressionin classAliasedQuerySource
-
withAlias
public RelationshipClause withAlias(java.lang.String value)
- Overrides:
withAliasin classAliasedQuerySource
-
withAnnotation
public RelationshipClause withAnnotation(CqlToElmBase... values)
- Overrides:
withAnnotationin classAliasedQuerySource
-
withAnnotation
public RelationshipClause withAnnotation(java.util.Collection<CqlToElmBase> values)
- Overrides:
withAnnotationin classAliasedQuerySource
-
withResultTypeSpecifier
public RelationshipClause withResultTypeSpecifier(TypeSpecifier value)
- Overrides:
withResultTypeSpecifierin classAliasedQuerySource
-
withLocalId
public RelationshipClause withLocalId(java.lang.String value)
- Overrides:
withLocalIdin classAliasedQuerySource
-
withLocator
public RelationshipClause withLocator(java.lang.String value)
- Overrides:
withLocatorin classAliasedQuerySource
-
withResultTypeName
public RelationshipClause withResultTypeName(javax.xml.namespace.QName value)
- Overrides:
withResultTypeNamein classAliasedQuerySource
-
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 classAliasedQuerySource
-
equals
public boolean equals(java.lang.Object object)
- 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
public java.lang.String toString()
- Overrides:
toStringin classAliasedQuerySource
-
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 classAliasedQuerySource
-
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 classAliasedQuerySource
-
-