org.eclipse.ocl.expressions.operations
Class EnumLiteralExpOperations
java.lang.Object
org.eclipse.ocl.expressions.operations.EnumLiteralExpOperations
public class EnumLiteralExpOperations
- extends Object
A static utility class that provides operations related to 'Enum Literal Exp' model objects.
The following operations are supported:
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,
Map<Object,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.