org.jscience.ml.sbml
Class UnitDefinition

java.lang.Object
  extended by org.jscience.ml.sbml.SBase
      extended by org.jscience.ml.sbml.SBaseId
          extended by org.jscience.ml.sbml.UnitDefinition

public final class UnitDefinition
extends SBaseId

A combination of Units to create a user-defined unit of measurement.

This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.


Field Summary
 
Fields inherited from class org.jscience.ml.sbml.SBaseId
id, name
 
Constructor Summary
UnitDefinition(java.lang.String id)
           
UnitDefinition(java.lang.String id, java.lang.String name)
           
 
Method Summary
 SBase getListOfUnitsElement()
          Root element for the unit list.
 java.util.List getUnits()
          List[Unit] of units combined in this definition.
 java.lang.String toString()
          The SBML for this element.
 
Methods inherited from class org.jscience.ml.sbml.SBaseId
getId, getName, setId, setName
 
Methods inherited from class org.jscience.ml.sbml.SBase
getAnnotations, getMetaid, getNotes, getRDF, printList, printShortForm, setMetaid, setRDF, setRDF
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnitDefinition

public UnitDefinition(java.lang.String id)

UnitDefinition

public UnitDefinition(java.lang.String id,
                      java.lang.String name)
Method Detail

getListOfUnitsElement

public SBase getListOfUnitsElement()
Root element for the unit list.


getUnits

public java.util.List getUnits()
List[Unit] of units combined in this definition.


toString

public java.lang.String toString()
Description copied from class: SBase
The SBML for this element.

Overrides:
toString in class SBase
Returns:
DOCUMENT ME!