public static class OclNode.EnumerationLiteralExp extends OclNode.LiteralExp
A EnumerationLiteralExp represents a property of a enumeration or codelist class from the model. The possible values of such a literal expression are properties of classes (which, in some cases, may not be modeled explicitly).
OclNode.AttributeCallExp, OclNode.BooleanLiteralExp, OclNode.BuiltInDescr, OclNode.BuiltInType, OclNode.ClassLiteralExp, OclNode.DataType, OclNode.DateTimeLiteralExp, OclNode.Declaration, OclNode.EnumerationLiteralExp, OclNode.Expression, OclNode.IfExp, OclNode.IntegerLiteralExp, OclNode.IterationCallExp, OclNode.LetExp, OclNode.LiteralExp, OclNode.MultiplicityMapping, OclNode.OclVoidLiteralExp, OclNode.OperationCallExp, OclNode.PackageLiteralExp, OclNode.PropertyCallExp, OclNode.PropertyCategory, OclNode.PropertySelector, OclNode.RealLiteralExp, OclNode.StringLiteralExp, OclNode.VariableExp
Modifier and Type | Field and Description |
---|---|
String |
literalName |
PropertyInfo |
umlProperty
WARNING: this may be null if enums/codes are not modeled
|
Modifier and Type | Method and Description |
---|---|
String |
asString()
This returns the value as a String.
|
void |
debugPrintContent(PrintWriter stream)
This is for generating debug output out of OclNodes.
|
debugPrint, getDataType, isBuiltInType, isMultiple, iso19103AssumedBuiltInType
public PropertyInfo umlProperty
public String literalName
public void debugPrintContent(PrintWriter stream)
This is for generating debug output out of OclNodes.
debugPrintContent
in class OclNode
stream
- PrintWriter onto which the debug output is to be directed.public String asString()
asString
in class OclNode.LiteralExp
Copyright © 2018. All rights reserved.