org.shiwa.fgi.iwir
Class SimpleType

java.lang.Object
  extended by org.shiwa.fgi.iwir.DataType
      extended by org.shiwa.fgi.iwir.SimpleType

public class SimpleType
extends DataType

The Class SimpleType represents the simple types of an IWIR data type. Note that this class is just a wrapper for the enum SimpleType.ConcreteType. Therefore, getType() returns ConcreteType.


Nested Class Summary
static class SimpleType.ConcreteType
          The Enum ConcreteType list the simple types.
 
Field Summary
static SimpleType BOOLEAN
          The BOOLEAN type instance.
static SimpleType DOUBLE
          The DOUBLE type instance.
static SimpleType FILE
          The FILE type instance.
static SimpleType INTEGER
          The INTEGER type instance.
static SimpleType STRING
          The STRING type instance.
 
Method Summary
 SimpleType.ConcreteType getType()
          Gets the concrete type of the simple type object.
 java.lang.String toString()
          Returns the string representation of the data type instance.
 
Methods inherited from class org.shiwa.fgi.iwir.DataType
fromString, getConcreteType, getNestingLevel, getSimpleType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STRING

public static SimpleType STRING
The STRING type instance.


INTEGER

public static SimpleType INTEGER
The INTEGER type instance.


DOUBLE

public static SimpleType DOUBLE
The DOUBLE type instance.


FILE

public static SimpleType FILE
The FILE type instance.


BOOLEAN

public static SimpleType BOOLEAN
The BOOLEAN type instance.

Method Detail

getType

public SimpleType.ConcreteType getType()
Gets the concrete type of the simple type object.

Returns:
the concrete type of the simple type object

toString

public java.lang.String toString()
Description copied from class: DataType
Returns the string representation of the data type instance.

Overrides:
toString in class DataType
Returns:
the string representation