org.eclipse.ocl.expressions.operations
Class EnumLiteralExpOperations
java.lang.Object
org.eclipse.ocl.expressions.operations.OCLExpressionOperations
org.eclipse.ocl.expressions.operations.EnumLiteralExpOperations
public class EnumLiteralExpOperations
- extends OCLExpressionOperations
A static utility class that provides operations related to 'Enum Literal Exp' model objects.
The following operations are supported:
Method Summary |
static
|
checkEnumType(EnumLiteralExp<C,EL> enumLiteralExp,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
self.type = referredEnumLiteral.enumeration |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnumLiteralExpOperations
protected EnumLiteralExpOperations()
-
checkEnumType
public static <C,EL> boolean checkEnumType(EnumLiteralExp<C,EL> enumLiteralExp,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
-
self.type = referredEnumLiteral.enumeration
- Parameters:
enumLiteralExp
- The receiving 'Enum Literal Exp' model object.diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.