org.openmodelica.simulation.core.models.modelica
Class ModelicaParameter

java.lang.Object
  extended by org.openmodelica.simulation.core.models.modelica.ModelicaProperty
      extended by org.openmodelica.simulation.core.models.modelica.ModelicaParameter

public class ModelicaParameter
extends ModelicaProperty

Represents a Modelica parameter. Unlike a variable type, the parameter can be modified interactively during a simulation

Author:
EADS Innovation Works, Parham Vasaiely, Parham.Vasaiely@gmx.de

Constructor Summary
ModelicaParameter(java.lang.String name, java.lang.String type, java.lang.String comment)
          To be used as default constructor.
 
Method Summary
 java.lang.Boolean getInteractive()
          A parameter can be modified interactively during a simulation.
 void setInteractive(java.lang.Boolean interactive)
           
 java.lang.String toString()
           
 
Methods inherited from class org.openmodelica.simulation.core.models.modelica.ModelicaProperty
getComment, getDisplay, getMaxValue, getMinValue, getName, getPrimitiveValue, getType, setDisplay, setMaxValue, setMinValue, setPrimitiveValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModelicaParameter

public ModelicaParameter(java.lang.String name,
                         java.lang.String type,
                         java.lang.String comment)
To be used as default constructor. The interactive variable is set to "false" as default

Parameters:
name - Parameter name
type - Parameter data type
comment - Designer Comment
Method Detail

getInteractive

public java.lang.Boolean getInteractive()
A parameter can be modified interactively during a simulation.

Returns:
true if the parameter can be modified interactively during a simulation, otherwise none

setInteractive

public void setInteractive(java.lang.Boolean interactive)

toString

public java.lang.String toString()
Overrides:
toString in class ModelicaProperty