org.eclipse.ocl.examples.pivot.internal.operations
Class OpaqueExpressionOperations

java.lang.Object
  extended by org.eclipse.ocl.examples.pivot.internal.operations.MonikeredElementOperations
      extended by org.eclipse.ocl.examples.pivot.internal.operations.ValueSpecificationOperations
          extended by 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

Constructor Summary
protected OpaqueExpressionOperations()
           
 
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 org.eclipse.ocl.examples.pivot.internal.operations.ValueSpecificationOperations
booleanValue, integerValue, isComputable, isNull, stringValue, unlimitedValue
 
Methods inherited from class org.eclipse.ocl.examples.pivot.internal.operations.MonikeredElementOperations
hasMoniker
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpaqueExpressionOperations

protected OpaqueExpressionOperations()

Generated
Method Detail

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