| 
||||||||||
| 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(java.lang.String expression)
Creates a query expression in the current classifier context.  | 
 OCL | 
getOCL()
Obtains the OCL instance that created me.  | 
| Method Detail | 
|---|
OCLExpression createQuery(java.lang.String expression)
                          throws ParserException
The return type is narrowed to the Ecore binding for the generic OCLExpression<C> type.
createQuery in interface OCLHelper<org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EOperation,org.eclipse.emf.ecore.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<org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EOperation,org.eclipse.emf.ecore.EStructuralFeature,Constraint>
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||