org.ptolemy.fmi.type
Class FMIIntegerType

java.lang.Object
  extended by org.ptolemy.fmi.type.FMIType
      extended by org.ptolemy.fmi.type.FMIIntegerType

public class FMIIntegerType
extends FMIType

An Functional Mock-up Interface type that represents an Integer.

FMI documentation may be found at http://www.modelisar.com/fmi.html.

Version:
$Id: FMIIntegerType.java 64739 2012-10-01 19:46:46Z cxh $
Author:
Christopher Brooks
Accepted Rating:
Red (cxh)
Proposed Rating:
Red (cxh)

Field Summary
 int start
          The starting value of this integer.
 
Fields inherited from class org.ptolemy.fmi.type.FMIType
description, fixed, name
 
Constructor Summary
FMIIntegerType(java.lang.String name, java.lang.String description, org.w3c.dom.Element element)
          Construct an Integer 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
 

Field Detail

start

public int start
The starting value of this integer.

Constructor Detail

FMIIntegerType

public FMIIntegerType(java.lang.String name,
                      java.lang.String description,
                      org.w3c.dom.Element element)
Construct an Integer 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.
Method Detail

toString

public java.lang.String toString()
Return the string value of the base element.

Specified by:
toString in class FMIType
Returns:
The string value.