org.ptolemy.fmi.type
Class FMIType

java.lang.Object
  extended by org.ptolemy.fmi.type.FMIType
Direct Known Subclasses:
FMIBooleanType, FMIIntegerType, FMIRealType, FMIStringType

public abstract class FMIType
extends java.lang.Object

An base class for Functional Mock-up Interface types like Real.

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

Version:
$Id: FMIType.java 64740 2012-10-01 19:52:14Z cxh $
Author:
Christopher Brooks
Accepted Rating:
Red (cxh)
Proposed Rating:
Red (cxh)

Field Summary
 java.lang.String description
          A description of the type.
 boolean fixed
          True if the value is fixed.
 java.lang.String name
          The name of the type.
 
Constructor Summary
FMIType(java.lang.String name, java.lang.String description, org.w3c.dom.Element element)
          Construct a variable.
 
Method Summary
abstract  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

description

public java.lang.String description
A description of the type.


fixed

public boolean fixed
True if the value is fixed.


name

public java.lang.String name
The name of the type.

Constructor Detail

FMIType

public FMIType(java.lang.String name,
               java.lang.String description,
               org.w3c.dom.Element element)
Construct a variable.

Parameters:
name - The name of this variable.
description - A description of this variable.
element - The XML Element that may contain a "fixed" element.
Method Detail

toString

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

Overrides:
toString in class java.lang.Object
Returns:
The string value.