org.openmodelica.simulation.core.models.modelica
Class ModelicaPrimitiveDataType
java.lang.Object
org.openmodelica.simulation.core.models.modelica.ModelicaPrimitiveDataType
- Direct Known Subclasses:
- ModelicaBoolean, ModelicaInteger, ModelicaReal, ModelicaString
public abstract class ModelicaPrimitiveDataType
- extends java.lang.Object
Represents an abstract class for all primitive data type of Modelica
This types could be Real, Integer, String or Boolean
- Author:
- EADS Innovation Works, Parham Vasaiely, Parham.Vasaiely@gmx.de
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ModelicaPrimitiveDataType
public ModelicaPrimitiveDataType(java.lang.String type)
getType
public java.lang.String getType()
- Returns:
- the Modelica Type as a String
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object