public static class OclNode.IfExp extends OclNode
OclNode.IfExp stands for an if-then-else-endif construct. It is ensured that the condition part is of type BOOLEAN and that both decision parts are of compatible types, least abstract supertype of which will be the type of the IfExp.
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 |
---|---|
OclNode |
condition |
OclNode |
elseExpression |
OclNode |
ifExpression |
Modifier and Type | Method and Description |
---|---|
void |
debugPrintContent(PrintWriter stream)
This is for generating debug output out of OclNodes.
|
boolean |
isMultiple()
Find out whether this OclNode represents a multiple entity, such as
a Set or other Collection type.
|
debugPrint, getDataType, isBuiltInType, iso19103AssumedBuiltInType
public OclNode condition
public OclNode ifExpression
public OclNode elseExpression
public void debugPrintContent(PrintWriter stream)
This is for generating debug output out of OclNodes.
debugPrintContent
in class OclNode
streamPrint
- Writer onto which the debug output is to be directed.public boolean isMultiple()
Find out whether this OclNode represents a multiple entity, such as a Set or other Collection type.
isMultiple
in class OclNode
Copyright © 2017. All rights reserved.