Class AbstractExpressionInvocation
java.lang.Object
org.cqframework.cql.cql2elm.model.invocation.AbstractExpressionInvocation
- All Implemented Interfaces:
Invocation
- Direct Known Subclasses:
AggregateExpressionInvocation,FunctionRefInvocation,OperatorExpressionInvocation
The AbstractExpressionInvocation can be used to more simply make invocations for classes that only extend
Expression.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.hl7.elm.r1.ExpressionassertAndGetSingleOperand(Iterable<org.hl7.elm.r1.Expression> operands) org.hl7.elm.r1.ExpressionvoidsetResolution(OperatorResolution resolution) voidsetResultType(org.hl7.cql.model.DataType resultType) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cqframework.cql.cql2elm.model.Invocation
getOperands, getSignature, setOperands, setSignature
-
Field Details
-
expression
protected org.hl7.elm.r1.Expression expression
-
-
Constructor Details
-
AbstractExpressionInvocation
public AbstractExpressionInvocation(org.hl7.elm.r1.Expression expression)
-
-
Method Details
-
setResultType
public void setResultType(org.hl7.cql.model.DataType resultType) - Specified by:
setResultTypein interfaceInvocation
-
getExpression
public org.hl7.elm.r1.Expression getExpression()- Specified by:
getExpressionin interfaceInvocation
-
assertAndGetSingleOperand
protected org.hl7.elm.r1.Expression assertAndGetSingleOperand(Iterable<org.hl7.elm.r1.Expression> operands) -
getResolution
- Specified by:
getResolutionin interfaceInvocation
-
setResolution
- Specified by:
setResolutionin interfaceInvocation
-