public class OCLAnnotationSupport extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
OCLAnnotationSupport.ParseErrorHandler
Handles parsing problems of OCL expressions attached in OCL related EAnnotations.
|
Constructor and Description |
---|
OCLAnnotationSupport() |
Modifier and Type | Method and Description |
---|---|
OCLExpression |
getBody(EOperation operation) |
OCLExpression |
getDerivedProperty(EStructuralFeature feature) |
static boolean |
isDynamicClassFeature(EStructuralFeature feature) |
static boolean |
isDynamicClassOperation(EOperation operation) |
static boolean |
isDynamicInstance(EObject instance) |
EOperation |
resolveDynamic(EOperation compiledOperation,
EObject targetInstance) |
void |
setErrorHandler(OCLAnnotationSupport.ParseErrorHandler errorHandler) |
public void setErrorHandler(OCLAnnotationSupport.ParseErrorHandler errorHandler)
public OCLExpression getDerivedProperty(EStructuralFeature feature)
public OCLExpression getBody(EOperation operation)
public EOperation resolveDynamic(EOperation compiledOperation, EObject targetInstance)
public static boolean isDynamicInstance(EObject instance)
public static boolean isDynamicClassFeature(EStructuralFeature feature)
public static boolean isDynamicClassOperation(EOperation operation)
Copyright © 2008, 2018 Borland Software Corporation and others. All Rights Reserved.