public class EnumLiteralExpOperations extends OCLExpressionOperations
The following operations are supported:
Check Enum Type| Modifier and Type | Method and Description |
|---|---|
static <C,EL> boolean |
checkEnumType(EnumLiteralExp<C,EL> enumLiteralExp,
DiagnosticChain diagnostics,
Map<Object,Object> context)
self.type = referredEnumLiteral.enumeration
|
public static <C,EL> boolean checkEnumType(EnumLiteralExp<C,EL> enumLiteralExp, DiagnosticChain diagnostics, Map<Object,Object> context)
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.
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.