de.interactive_instruments.ShapeChange.Ocl
Class OclNode.Expression
java.lang.Object
de.interactive_instruments.ShapeChange.Ocl.OclNode
de.interactive_instruments.ShapeChange.Ocl.OclNode.Expression
- Enclosing class:
- OclNode
public static class OclNode.Expression
- extends OclNode
OclNode.OclExpression wraps a complete OCL expression classifying it
as either an invariant or an expression of the derive/init type.
Nested classes/interfaces inherited from class de.interactive_instruments.ShapeChange.Ocl.OclNode |
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 |
Fields inherited from class de.interactive_instruments.ShapeChange.Ocl.OclNode |
dataType |
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
public String name
expressionType
public OclConstraint.ConditionType expressionType
expression
public OclNode expression
selfDeclaration
public OclNode.Declaration selfDeclaration
environmentDeclarations
public ArrayList<OclNode.Declaration> environmentDeclarations
debugPrintContent
public void debugPrintContent(PrintWriter stream)
This is for generating debug output out of OclNodes.
- Overrides:
debugPrintContent
in class OclNode
- Parameters:
stream
- PrintWriter onto which the debug output is to be directed.
isMultiple
public boolean isMultiple()
Find out whether this OclNode represents a multiple entity, such as
a Set or other Collection type.
- Overrides:
isMultiple
in class OclNode
- Returns:
- Flag - this represents a multiple entity
Copyright © 2015. All rights reserved.