de.interactive_instruments.ShapeChange.Ocl
Class OclNode.LiteralExp

java.lang.Object
  extended by de.interactive_instruments.ShapeChange.Ocl.OclNode
      extended by de.interactive_instruments.ShapeChange.Ocl.OclNode.LiteralExp
Direct Known Subclasses:
OclNode.BooleanLiteralExp, OclNode.ClassLiteralExp, OclNode.DateTimeLiteralExp, OclNode.EnumerationLiteralExp, OclNode.IntegerLiteralExp, OclNode.OclVoidLiteralExp, OclNode.PackageLiteralExp, OclNode.RealLiteralExp, OclNode.StringLiteralExp
Enclosing class:
OclNode

public abstract static class OclNode.LiteralExp
extends OclNode

LiteralExp is the common root of all implemented OCL literal expressions. The names of the derived concrete literal classes correspond to the OCL types represented, such as ClassLiteralExp, where the data type is CLASS.


Nested Class Summary
 
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
 
Field Summary
 
Fields inherited from class de.interactive_instruments.ShapeChange.Ocl.OclNode
dataType
 
Constructor Summary
OclNode.LiteralExp()
           
 
Method Summary
abstract  String asString()
          The implementations of this abstract function return the value of the literal as a String.
 
Methods inherited from class de.interactive_instruments.ShapeChange.Ocl.OclNode
debugPrint, debugPrintContent, getDataType, isBuiltInType, isMultiple, iso19103AssumedBuiltInType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OclNode.LiteralExp

public OclNode.LiteralExp()
Method Detail

asString

public abstract String asString()

The implementations of this abstract function return the value of the literal as a String.

Returns:
The value of the Literal as a String


Copyright © 2015. All rights reserved.