org.eclipse.ocl.examples.pivot.internal.operations
Class OpaqueExpressionOperations
java.lang.Object
org.eclipse.ocl.examples.pivot.internal.operations.MonikeredElementOperations
org.eclipse.ocl.examples.pivot.internal.operations.ValueSpecificationOperations
org.eclipse.ocl.examples.pivot.internal.operations.OpaqueExpressionOperations
public class OpaqueExpressionOperations
- extends ValueSpecificationOperations
A static utility class that provides operations related to 'Opaque Expression' model objects.
The following operations are supported:
- Generated
Method Summary |
static boolean |
validateLanguageBodySize(OpaqueExpression opaqueExpression,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
If the language attribute is not empty, then the size of the body and language arrays must be the same. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpaqueExpressionOperations
protected OpaqueExpressionOperations()
-
- Generated
validateLanguageBodySize
public static boolean validateLanguageBodySize(OpaqueExpression opaqueExpression,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
-
If the language attribute is not empty, then the size of the body and language arrays must be the same.
language->notEmpty() implies (body->size() = language->size())
- Parameters:
opaqueExpression
- The receiving 'Opaque Expression' model object.diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
- Generated