Class FMIBooleanType


  • public class FMIBooleanType
    extends FMIType
    An Functional Mock-up Interface type that represents a Boolean.

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

    Since:
    Ptolemy II 10.0
    Version:
    $Id$, $Id$
    Author:
    Christopher Brooks
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Red (cxh)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean start
      The starting value of this boolean.
    • Constructor Summary

      Constructors 
      Constructor Description
      FMIBooleanType​(java.lang.String name, java.lang.String description, org.w3c.dom.Element element)
      Construct a Boolean FMU variable.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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 boolean start
        The starting value of this boolean.
    • Constructor Detail

      • FMIBooleanType

        public FMIBooleanType​(java.lang.String name,
                              java.lang.String description,
                              org.w3c.dom.Element element)
        Construct a Boolean 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.