org.openmodelica.simulation.core.models.modelica
Class ModelicaBoolean
java.lang.Object
org.openmodelica.simulation.core.models.modelica.ModelicaPrimitiveDataType
org.openmodelica.simulation.core.models.modelica.ModelicaBoolean
public class ModelicaBoolean
- extends ModelicaPrimitiveDataType
Represents the primitive data type "Boolean" from the Modelica language
- Author:
- EADS Innovation Works, Parham Vasaiely, Parham.Vasaiely@gmx.de
Constructor Summary |
ModelicaBoolean()
Default Constructor, set the primitive data type to "Boolean" and its value to "false" as default |
Method Summary |
java.lang.Boolean |
getValue()
|
void |
setValue(java.lang.Boolean value)
After Reading the XML file with the standard initial values
the user has the possibility to change the default value |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ModelicaBoolean
public ModelicaBoolean()
- Default Constructor, set the primitive data type to "Boolean" and its value to "false" as default
getValue
public java.lang.Boolean getValue()
setValue
public void setValue(java.lang.Boolean value)
- After Reading the XML file with the standard initial values
the user has the possibility to change the default value
- Parameters:
value
-
toString
public java.lang.String toString()
- Overrides:
toString
in class ModelicaPrimitiveDataType