Modifier and Type | Method and Description |
---|---|
CGValuedElement |
Pivot2CGVisitor.visitExpressionInOCL(ExpressionInOCL element) |
Modifier and Type | Method and Description |
---|---|
LibraryOperation |
CodeGenHelper.loadClass(ExpressionInOCL query,
java.io.File targetFolder,
java.lang.String packageName,
java.lang.String className,
boolean saveSource)
Return the <%...%> escaped name for a type.
|
Modifier and Type | Method and Description |
---|---|
LibraryOperation |
JavaGenModelCodeGenHelper.loadClass(ExpressionInOCL query,
java.io.File targetFolder,
java.lang.String packageName,
java.lang.String className,
boolean saveSource) |
Modifier and Type | Field and Description |
---|---|
protected ExpressionInOCL |
OCLinEcoreCG2JavaVisitor.expInOcl |
Modifier and Type | Field and Description |
---|---|
protected ExpressionInOCL |
JUnitCG2JavaClassVisitor.expInOcl |
protected ExpressionInOCL |
JUnitCodeGenerator.expInOcl |
Modifier and Type | Method and Description |
---|---|
CGOperation |
JUnitCG2JavaClassVisitor.createCGOperation(ExpressionInOCL expInOcl) |
static JUnitCG2JavaClassVisitor |
JUnitCG2JavaClassVisitor.generate(JavaCodeGenerator codeGenerator,
ExpressionInOCL expInOcl,
java.lang.String packageName,
java.lang.String className) |
Constructor and Description |
---|
JUnitCG2JavaClassVisitor(JavaCodeGenerator codeGenerator,
ExpressionInOCL expInOcl,
java.lang.String packageName,
java.lang.String className) |
JUnitCodeGenerator(MetaModelManager metaModelManager,
ExpressionInOCL expInOcl,
boolean useNullAnnotations) |
Modifier and Type | Method and Description |
---|---|
ExpressionInOCL |
PivotFactory.createExpressionInOCL()
Returns a new object of class 'Expression In OCL'.
|
ExpressionInOCL |
OCL.getSpecification(Constraint constraint)
Return the Constraint specification as an ExpressionInOCL, parsing any OpaqueExpression
that may be encountered.
|
Modifier and Type | Method and Description |
---|---|
boolean |
OCL.check(java.lang.Object context,
ExpressionInOCL specification)
Checks whether a constraint, specified simply as an OCL expression, is
satisfied by an object.
|
Query |
OCL.createQuery(ExpressionInOCL specification)
Creates a new
Query encapsulating a query expression with the
current environment and extent map. |
java.lang.Object |
OCL.evaluate(java.lang.Object context,
ExpressionInOCL expression)
Evaluates a query expression on a context object (which is bound to the
self variable).
|
Modifier and Type | Method and Description |
---|---|
ExpressionInOCL |
AbstractParserContext.getExpression(BaseResource resource) |
ExpressionInOCL |
ParserContext.getExpression(BaseResource resource)
Extract an Abstract Syntax ExpressionInOCL fronm a Concrete Syntax resource.
|
ExpressionInOCL |
AbstractParserContext.parse(java.lang.String expression) |
ExpressionInOCL |
ParserContext.parse(java.lang.String expression)
Create an Abstract Syntax ExpressionInOCL containing the parsed expression.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractParserContext.initialize(Base2PivotConversion conversion,
ExpressionInOCL expression) |
void |
ClassContext.initialize(Base2PivotConversion conversion,
ExpressionInOCL expression) |
void |
EClassContext.initialize(Base2PivotConversion conversion,
ExpressionInOCL expression) |
void |
EInvocationContext.initialize(Base2PivotConversion conversion,
ExpressionInOCL expression) |
void |
EObjectContext.initialize(Base2PivotConversion conversion,
ExpressionInOCL expression) |
void |
OperationContext.initialize(Base2PivotConversion conversion,
ExpressionInOCL expression) |
void |
ParserContext.initialize(Base2PivotConversion conversion,
ExpressionInOCL expression)
Callback to initialize the ExpressionInOCL with the derived context such as
a contextvariable for the self type, parameter and result variables.
|
void |
AbstractBase2PivotConversion.setClassifierContext(ExpressionInOCL pivotSpecification,
Type contextType) |
void |
Base2PivotConversion.setClassifierContext(ExpressionInOCL pivotSpecification,
Type contextType) |
void |
AbstractBase2PivotConversion.setContextVariable(ExpressionInOCL pivotSpecification,
java.lang.String selfVariableName,
Type contextType) |
void |
Base2PivotConversion.setContextVariable(ExpressionInOCL pivotSpecification,
java.lang.String selfVariableName,
Type contextType) |
void |
AbstractBase2PivotConversion.setOperationContext(ExpressionInOCL pivotSpecification,
Operation contextOperation,
java.lang.String resultName) |
void |
AbstractBase2PivotConversion.setParameterVariables(ExpressionInOCL pivotSpecification,
java.util.List<Parameter> parameters) |
void |
Base2PivotConversion.setParameterVariables(ExpressionInOCL pivotSpecification,
java.util.List<Parameter> parameters) |
void |
AbstractBase2PivotConversion.setParameterVariables(ExpressionInOCL pivotSpecification,
java.util.Map<java.lang.String,Type> parameters) |
void |
Base2PivotConversion.setParameterVariables(ExpressionInOCL pivotSpecification,
java.util.Map<java.lang.String,Type> parameters) |
void |
AbstractBase2PivotConversion.setPropertyContext(ExpressionInOCL pivotSpecification,
Property contextProperty) |
void |
AbstractBase2PivotConversion.setResultVariable(ExpressionInOCL pivotSpecification,
Operation contextOperation,
java.lang.String resultName) |
void |
Base2PivotConversion.setResultVariable(ExpressionInOCL pivotSpecification,
Operation contextOperation,
java.lang.String resultName) |
Modifier and Type | Method and Description |
---|---|
protected ExpressionInOCL |
AbstractDelegatedBehavior.getExpressionInOCL(ClassContext parserContext,
Constraint constraint) |
protected ExpressionInOCL |
AbstractDelegatedBehavior.getExpressionInOCL(ClassContext parserContext,
OpaqueExpression specification) |
ExpressionInOCL |
OCLInvocationDelegate.getExpressionInOCL(MetaModelManager metaModelManager,
Constraint constraint) |
ExpressionInOCL |
OCLValidationDelegate.getExpressionInOCL(MetaModelManager metaModelManager,
Constraint constraint) |
ExpressionInOCL |
InvocationBehavior.getExpressionInOCL(MetaModelManager metaModelManager,
Operation operation)
Return the operation body associated with operation, if necessary using
ocl to create the relevant parsing environment for a textual
definition. |
ExpressionInOCL |
SettingBehavior.getExpressionInOCL(MetaModelManager metaModelManager,
Property property)
Return the feature body associated with structuralFeature, if necessary using ocl to
create the relevant parsing environment for a textual definition..
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
OCLValidationDelegate.check(EvaluationVisitor evaluationVisitor,
java.lang.String constraintName,
ExpressionInOCL query) |
EvaluationEnvironment |
OCLValidationDelegate.createEvaluationEnvironment(java.lang.Object object,
ExpressionInOCL query,
EnvironmentFactory environmentFactory) |
EvaluationVisitor |
OCLValidationDelegate.createEvaluationVisitor(java.lang.Object object,
ExpressionInOCL query) |
protected java.lang.String |
OCLValidationDelegate.evaluateMessage(EvaluationVisitor evaluationVisitor,
java.lang.String constraintName,
ExpressionInOCL query) |
protected boolean |
OCLValidationDelegate.validateExpressionInOCL(org.eclipse.emf.ecore.EClassifier eClassifier,
java.lang.Object value,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context,
java.lang.String constraintName,
java.lang.String source,
int code,
ExpressionInOCL query) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
EvaluationVisitor.evaluate(ExpressionInOCL expressionInOCL) |
java.lang.Object |
EvaluationVisitorImpl.evaluate(ExpressionInOCL expressionInOCL) |
java.lang.Object |
TracingEvaluationVisitor.evaluate(ExpressionInOCL expressionInOCL) |
java.lang.Object |
AbstractEvaluationVisitorDecorator.visitExpressionInOCL(ExpressionInOCL expression)
Delegates to my decorated visitor.
|
java.lang.Object |
EvaluationVisitorImpl.visitExpressionInOCL(ExpressionInOCL expression) |
java.lang.Object |
TracingEvaluationVisitor.visitExpressionInOCL(ExpressionInOCL expression) |
Modifier and Type | Method and Description |
---|---|
ExpressionInOCL |
OCLHelper.createBodyCondition(java.lang.String expression)
Creates an operation body.
|
ExpressionInOCL |
OCLHelperImpl.createBodyCondition(java.lang.String expression) |
ExpressionInOCL |
OCLHelper.createDerivedValueExpression(java.lang.String expression)
Creates a property derived value expression.
|
ExpressionInOCL |
OCLHelperImpl.createDerivedValueExpression(java.lang.String expression) |
ExpressionInOCL |
OCLHelper.createInvariant(java.lang.String expression)
Creates an invariant constraint in the current classifier context.
|
ExpressionInOCL |
OCLHelperImpl.createInvariant(java.lang.String expression) |
ExpressionInOCL |
OCLHelper.createPostcondition(java.lang.String expression)
Creates an operation postcondition constraint.
|
ExpressionInOCL |
OCLHelperImpl.createPostcondition(java.lang.String expression) |
ExpressionInOCL |
OCLHelper.createPrecondition(java.lang.String expression)
Creates an operation precondition constraint.
|
ExpressionInOCL |
OCLHelperImpl.createPrecondition(java.lang.String expression) |
ExpressionInOCL |
OCLHelper.createQuery(java.lang.String expression)
Creates a query expression in the current classifier context.
|
ExpressionInOCL |
OCLHelperImpl.createQuery(java.lang.String expression) |
protected ExpressionInOCL |
OCLHelperImpl.createSpecification(java.lang.String expression) |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
HelperUtil.getConstraintContext(Environment env,
java.lang.Object element,
ExpressionInOCL expr) |
Modifier and Type | Class and Description |
---|---|
class |
ExpressionInOCLImpl
An implementation of the model object 'Expression In Ocl'.
|
Modifier and Type | Method and Description |
---|---|
ExpressionInOCL |
PivotFactoryImpl.createExpressionInOCL() |
Modifier and Type | Field and Description |
---|---|
protected ExpressionInOCL |
ConstrainedOperation.expressionInOCL |
protected ExpressionInOCL |
ConstrainedProperty.expressionInOCL |
Constructor and Description |
---|
ConstrainedOperation(ExpressionInOCL expressionInOCL) |
ConstrainedProperty(ExpressionInOCL expressionInOCL) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
EssentialOCLPrettyPrintVisitor.visitExpressionInOCL(ExpressionInOCL object) |
Modifier and Type | Method and Description |
---|---|
T |
PivotSwitch.caseExpressionInOCL(ExpressionInOCL object)
Returns the result of interpreting the object as an instance of 'Expression In OCL'.
|
boolean |
PivotValidator.validateExpressionInOCL(ExpressionInOCL expressionInOCL,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
R |
AbstractDelegatingVisitor.visitExpressionInOCL(ExpressionInOCL object) |
R |
AbstractExtendingVisitor.visitExpressionInOCL(ExpressionInOCL object) |
R |
AbstractNullVisitor.visitExpressionInOCL(ExpressionInOCL object) |
R |
Visitor.visitExpressionInOCL(ExpressionInOCL object) |
Modifier and Type | Method and Description |
---|---|
static ExpressionInOCL |
PivotUtil.createExpressionInOCLError(java.lang.String string) |
static ExpressionInOCL |
PivotUtil.getExpressionInOCL(NamedElement contextElement,
OpaqueExpression specification)
Return an OCL AST from a ValueSpecification in the context of a NamedElement.
|
static ExpressionInOCL |
PivotUtil.getExpressionInOCL(NamedElement contextElement,
java.lang.String expression)
Return an OCL AST from a string in the context of a NamedElement.
|
Modifier and Type | Method and Description |
---|---|
static void |
PivotUtil.setBody(ExpressionInOCL expressionInOCL,
OCLExpression oclExpression,
java.lang.String stringExpression)
Define oclExpression as the bodyExpression of an expressionInOCL, and if non-null
also define stringExpression as the OCL-languaged body.
|
static void |
PivotUtil.setMessage(ExpressionInOCL expressionInOCL,
OCLExpression oclExpression,
java.lang.String stringExpression)
Define oclExpression as the bodyExpression of an expressionInOCL, and if non-null
also define stringExpression as the OCL-languaged body.
|
java.lang.Object |
Pivot2MonikerVisitor.visitExpressionInOCL(ExpressionInOCL object) |
java.lang.String |
ToStringVisitor.visitExpressionInOCL(ExpressionInOCL expression)
Renders an ExpressionInOCL with its context variables and body.
|
Constructor and Description |
---|
QueryImpl(OCL ocl,
ExpressionInOCL specification) |
Modifier and Type | Method and Description |
---|---|
void |
CS2PivotConversion.refreshContextVariable(ExpressionInOCL pivotSpecification) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
BaseLabelProvider.image(ExpressionInOCL ele) |
protected java.lang.String |
BaseLabelProvider.text(ExpressionInOCL ele) |
Modifier and Type | Method and Description |
---|---|
protected ExpressionInOCL |
MarkupToHTML.createQuery(java.lang.String oclString) |
Modifier and Type | Method and Description |
---|---|
ElementCS |
OCLinEcoreDeclarationVisitor.visitExpressionInOCL(ExpressionInOCL object) |