Package | Description |
---|---|
org.eclipse.ocl.ecore |
Implementation of an OCL binding for the Ecore metamodel.
|
org.eclipse.ocl.ecore.delegate | |
org.eclipse.ocl.ecore.impl |
Implementation of the Ecore binding of the the Types package of the
OCL Abstract Syntax.
|
org.eclipse.ocl.ecore.util |
Generated utilities for working with instances the Ecore binding of the
Types package of the OCL Abstract Syntax.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AssociationClassCallExp
A representation of the model object 'Association Class Call Exp'.
|
interface |
BooleanLiteralExp
A representation of the model object 'Boolean Literal Exp'.
|
interface |
CallExp
A representation of the model object 'Call Exp'.
|
interface |
CollectionLiteralExp
A representation of the model object 'Collection Literal Exp'.
|
interface |
EnumLiteralExp
A representation of the model object 'Enum Literal Exp'.
|
interface |
FeatureCallExp
A representation of the model object 'Feature Call Exp'.
|
interface |
IfExp
A representation of the model object 'If Exp'.
|
interface |
IntegerLiteralExp
A representation of the model object 'Integer Literal Exp'.
|
interface |
InvalidLiteralExp
A representation of the model object 'Invalid Literal Exp'.
|
interface |
IterateExp
A representation of the model object 'Iterate Exp'.
|
interface |
IteratorExp
A representation of the model object 'Iterator Exp'.
|
interface |
LetExp
A representation of the model object 'Let Exp'.
|
interface |
LiteralExp
A representation of the model object 'Literal Exp'.
|
interface |
LoopExp
A representation of the model object 'Loop Exp'.
|
interface |
MessageExp
A representation of the model object 'Message Exp'.
|
interface |
NavigationCallExp
A representation of the model object 'Navigation Call Exp'.
|
interface |
NullLiteralExp
A representation of the model object 'Null Literal Exp'.
|
interface |
NumericLiteralExp
A representation of the model object 'Numeric Literal Exp'.
|
interface |
OperationCallExp
A representation of the model object 'Operation Call Exp'.
|
interface |
OppositePropertyCallExp
A representation of the model object 'Opposite Property Call Exp'.
|
interface |
PrimitiveLiteralExp
A representation of the model object 'Primitive Literal Exp'.
|
interface |
PropertyCallExp
A representation of the model object 'Property Call Exp'.
|
interface |
RealLiteralExp
A representation of the model object 'Real Literal Exp'.
|
interface |
StateExp
A representation of the model object 'State Exp'.
|
interface |
StringLiteralExp
A representation of the model object 'String Literal Exp'.
|
interface |
TupleLiteralExp
A representation of the model object 'Tuple Literal Exp'.
|
interface |
TypeExp
A representation of the model object 'Type Exp'.
|
interface |
UnlimitedNaturalLiteralExp
A representation of the model object 'Unlimited Natural Literal Exp'.
|
interface |
UnspecifiedValueExp
A representation of the model object 'Unspecified Value Exp'.
|
interface |
VariableExp
A representation of the model object 'Variable Exp'.
|
Modifier and Type | Method and Description |
---|---|
OCLExpression |
OCL.Helper.createQuery(String expression)
Creates a query expression in the current classifier context.
|
OCLExpression |
OCL.Query.getExpression()
Obtains the expression that I evaluate (or check as a boolean constraint).
|
Modifier and Type | Field and Description |
---|---|
static OCLExpression |
AbstractDelegatedBehavior.NO_OCL_DEFINITION
An "identifying" instance that helps distinguish between the case where an OCL expression
isn't found in the expression cache and hasn't been looked up elsewhere yet from the case where
we looked around for a definition but couldn't find one
|
Modifier and Type | Method and Description |
---|---|
OCLExpression |
ValidationBehavior.getCachedOCLExpression(EClassifier cls,
String constraintName)
Looks for an
InvariantCacheAdapter attached to cls . |
OCLExpression |
InvocationBehavior.getCachedOCLExpression(EOperation operation)
Looks for an
ExpressionCacheAdapter attached to operation . |
OCLExpression |
SettingBehavior.getCachedOCLExpression(EStructuralFeature property)
Looks for an
ExpressionCacheAdapter attached to property . |
OCLExpression |
SettingBehavior.getFeatureBody(OCL ocl,
EStructuralFeature structuralFeature)
Return the feature body associated with structuralFeature, if necessary using ocl to
create the relevant parsing environment for a textual definition..
|
OCLExpression |
ValidationBehavior.getInvariant(EClassifier cls,
String constraintName,
OCL ocl) |
OCLExpression |
InvocationBehavior.getOperationBody(OCL ocl,
EOperation operation)
Return the operation body associated with operation, if necessary using
ocl to create the relevant parsing environment for a textual
definition. |
Modifier and Type | Method and Description |
---|---|
void |
ValidationBehavior.cacheOCLExpression(EClassifier cls,
String constraintName,
OCLExpression e)
Creates an
InvariantCacheAdapter for expression e and adds
it to n 's adapter list so that ValidationBehavior.getCachedOCLExpression(EClassifier, String)
will return e when called for n . |
void |
InvocationBehavior.cacheOCLExpression(EOperation operation,
OCLExpression e)
Creates an
ExpressionCacheAdapter for expression e and adds
it to operation 's adapter list so that InvocationBehavior.getCachedOCLExpression(EOperation)
will return e when called for operation . |
void |
SettingBehavior.cacheOCLExpression(EStructuralFeature property,
OCLExpression e)
Creates an
ExpressionCacheAdapter for expression e and adds
it to property 's adapter list so that SettingBehavior.getCachedOCLExpression(EStructuralFeature)
will return e when called for property . |
static boolean |
AbstractDelegatedBehavior.isNoOCLDefinition(OCLExpression e)
Return true if
e is a reserved expression used to cache a miss and so
avoid repeating the miss processing on subsequent accesses. |
Modifier and Type | Class and Description |
---|---|
class |
OppositePropertyCallExpImpl
An implementation of the model object 'Opposite Property Call Exp'.
|
Modifier and Type | Method and Description |
---|---|
T |
EcoreSwitch.caseOCLExpression(OCLExpression object)
Returns the result of interpreting the object as an instance of 'OCL Expression'.
|
boolean |
EcoreValidator.validateOCLExpression_WellFormedName(OCLExpression oclExpression,
DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the WellFormedName constraint of 'OCL Expression'.
|
boolean |
EcoreValidator.validateOCLExpression(OCLExpression oclExpression,
DiagnosticChain diagnostics,
Map<Object,Object> context) |
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.