org.ptolemy.fmi.type
Class FMIStringType
java.lang.Object
org.ptolemy.fmi.type.FMIType
org.ptolemy.fmi.type.FMIStringType
public class FMIStringType
- extends FMIType
An Functional Mock-up Interface type that represents a String.
FMI documentation may be found at
http://www.modelisar.com/fmi.html.
- Version:
- $Id: FMIStringType.java 64740 2012-10-01 19:52:14Z cxh $
- Author:
- Christopher Brooks
- Accepted Rating:
- Proposed Rating:
Field Summary |
java.lang.String |
start
The starting value of this integer. |
Constructor Summary |
FMIStringType(java.lang.String name,
java.lang.String description,
org.w3c.dom.Element element)
Construct a String FMU variable. |
Method Summary |
java.lang.String |
toString()
Return the string value of the base element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
start
public java.lang.String start
- The starting value of this integer.
FMIStringType
public FMIStringType(java.lang.String name,
java.lang.String description,
org.w3c.dom.Element element)
- Construct a String FMU variable.
- Parameters:
name
- The name of this variable.description
- A description of this variable.element
- The XML element whose attributes are used to
set the fields of this object.
toString
public java.lang.String toString()
- Return the string value of the base element.
- Specified by:
toString
in class FMIType
- Returns:
- The string value.