Package org.ehrbase.openehr.sdk.aql.util
Class AqlUtil
java.lang.Object
org.ehrbase.openehr.sdk.aql.util.AqlUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic Map<String,AbstractContainmentExpression> containmentExpressionsByIdentifier(Containment containment) static StringremoveParameter(String aql, String parameterName) Removes a parameter from the aqlstatic Stream<AbstractContainmentExpression>streamContainments(Containment containment) static Stream<ComparisonOperatorPredicate>streamPredicates(List<AndOperatorPredicate> condition)
-
Method Details
-
removeParameter
Removes a parameter from the aql- Parameters:
aql- source aql stringparameterName- name of the parameter to be removed- Returns:
- the aql with the parameter removed
-
containmentExpressionsByIdentifier
public static Map<String,AbstractContainmentExpression> containmentExpressionsByIdentifier(Containment containment) -
streamContainments
-
streamPredicates
public static Stream<ComparisonOperatorPredicate> streamPredicates(List<AndOperatorPredicate> condition)
-