|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface OCL.Helper
Convenient interface aliasing the type parameter substitutions for the Ecore environment, for ease of typing.
Method Summary | |
---|---|
OCLExpression |
createQuery(String expression)
Creates a query expression in the current classifier context. The return type is narrowed to the Ecore binding for the generic OCLExpression<C> type. |
OCL |
getOCL()
Obtains the OCL instance that created me. 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. |
Method Detail |
---|
OCLExpression createQuery(String expression) throws ParserException
The return type is narrowed to the Ecore binding for the generic OCLExpression<C> type.
createQuery
in interface OCLHelper<EClassifier,EOperation,EStructuralFeature,Constraint>
expression
- the expression (without any context declaration).
This expression can have any result type; it needs not be a boolean
ParserException
- 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.
getOCL
in interface OCLHelper<EClassifier,EOperation,EStructuralFeature,Constraint>
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |