public static interface OCL.Helper extends OCLHelper<Classifier,Operation,Property,Constraint>
| Modifier and Type | Method and Description |
|---|---|
OCLExpression |
createQuery(String expression)
Creates a query expression in the current classifier context.
|
OCL |
getOCL()
Obtains the OCL instance that created me.
|
createBodyCondition, createConstraint, createDerivedValueExpression, createInitialValueExpression, createInvariant, createPostcondition, createPrecondition, defineAttribute, defineOperation, getContextAttribute, getContextClassifier, getContextOperation, getEnvironment, getProblems, getSyntaxHelp, isValidating, setAttributeContext, setContext, setInstanceAttributeContext, setInstanceContext, setInstanceOperationContext, setOperationContext, setValidatingOCLExpression createQuery(String expression) throws ParserException
The return type is narrowed to the UML binding for the generic OCLExpression<C> type.
createQuery in interface OCLHelper<Classifier,Operation,Property,Constraint>expression - the expression (without any context declaration).
This expression can have any result type; it needs not be a booleanParserException - if the expression fails to parseOCL getOCL()
The return type is narrowed to the Ecore binding for the generic OCLExpression<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> type.
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.