public class StringLiteralExpOperations extends OCLExpressionOperations
The following operations are supported:
Check String Type
Modifier and Type | Method and Description |
---|---|
static <C> boolean |
checkStringType(StringLiteralExp<C> stringLiteralExp,
DiagnosticChain diagnostics,
Map<Object,Object> context)
self.type.name = 'String'
|
public static <C> boolean checkStringType(StringLiteralExp<C> stringLiteralExp, DiagnosticChain diagnostics, Map<Object,Object> context)
stringLiteralExp
- The receiving 'String 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.