protected abstract static class AbstractPivotConstraintLocator.AbstractConstraintLocator extends AbstractConstraintEvaluator<org.eclipse.emf.common.util.Diagnostic>
| Modifier and Type | Field and Description |
|---|---|
protected PivotMetamodelManager |
metamodelManager |
protected java.lang.Object |
object |
body, query| Modifier | Constructor and Description |
|---|---|
protected |
AbstractConstraintLocator(PivotMetamodelManager metamodelManager,
ExpressionInOCL expression,
java.lang.Object object) |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.emf.common.util.Diagnostic |
handleExceptionResult(java.lang.Throwable e)
Call-back to return the appropriate response for an evaluation that was terminated by an exception.
|
protected org.eclipse.emf.common.util.Diagnostic |
handleFailureResult(java.lang.Object result)
Call-back to return the appropriate response for a failed evaluation.
|
protected org.eclipse.emf.common.util.Diagnostic |
handleInvalidExpression(java.lang.String message)
Call-back to return the appropriate response for an unsuccessful parse of the expression.
|
protected org.eclipse.emf.common.util.Diagnostic |
handleInvalidResult(InvalidValueException e)
Call-back to return the appropriate response for an unsuccessful evaluation with an invalid result.
|
protected org.eclipse.emf.common.util.Diagnostic |
handleSuccessResult()
Call-back to return the appropriate response for a successful evaluation.
|
evaluate, getConstraintExpression, getConstraintName, getConstraintResultMessage, getConstraintResultSeverity, getConstraintResultStatus, getConstraintTypeName, getObjectLabel, isBooleanConstraint@NonNull protected final PivotMetamodelManager metamodelManager
@Nullable protected final java.lang.Object object
protected AbstractConstraintLocator(@NonNull
PivotMetamodelManager metamodelManager,
@NonNull
ExpressionInOCL expression,
@Nullable
java.lang.Object object)
protected org.eclipse.emf.common.util.Diagnostic handleExceptionResult(@NonNull
java.lang.Throwable e)
AbstractConstraintEvaluatorhandleExceptionResult in class AbstractConstraintEvaluator<org.eclipse.emf.common.util.Diagnostic>protected org.eclipse.emf.common.util.Diagnostic handleFailureResult(@Nullable
java.lang.Object result)
AbstractConstraintEvaluatorhandleFailureResult in class AbstractConstraintEvaluator<org.eclipse.emf.common.util.Diagnostic>protected org.eclipse.emf.common.util.Diagnostic handleInvalidExpression(@NonNull
java.lang.String message)
AbstractConstraintEvaluatorhandleInvalidExpression in class AbstractConstraintEvaluator<org.eclipse.emf.common.util.Diagnostic>protected org.eclipse.emf.common.util.Diagnostic handleInvalidResult(@NonNull
InvalidValueException e)
AbstractConstraintEvaluatorhandleInvalidResult in class AbstractConstraintEvaluator<org.eclipse.emf.common.util.Diagnostic>protected org.eclipse.emf.common.util.Diagnostic handleSuccessResult()
AbstractConstraintEvaluatorhandleSuccessResult in class AbstractConstraintEvaluator<org.eclipse.emf.common.util.Diagnostic>