|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.ml.sbml.UnitManager
public final class UnitManager
Manages a collection of unit definitions. This should be tied to a model, see bug #389.
This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.
| Constructor Summary | |
|---|---|
UnitManager()
Creates a new instance of UnitManager |
|
| Method Summary | |
|---|---|
void |
addUnitDefinition(UnitDefinition definition)
|
static Unit |
findBaseUnit(java.lang.String name)
|
static java.util.Set |
getBaseUnits()
Set[Unit] of the SBML base units. |
java.util.Vector |
getCompartmentUnits()
|
java.util.Vector |
getSpatialSizeUnits()
|
java.util.Vector |
getSubstanceUnits()
|
java.util.List |
getUnitDefinitions()
A List[UnitDefinition] of known definitions. |
boolean |
isUnit(java.lang.String name)
|
void |
setUnitDefault(java.lang.String name,
UnitDefinition definition)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnitManager()
| Method Detail |
|---|
public static Unit findBaseUnit(java.lang.String name)
public static java.util.Set getBaseUnits()
public void addUnitDefinition(UnitDefinition definition)
public java.util.Vector getCompartmentUnits()
public java.util.Vector getSpatialSizeUnits()
public java.util.Vector getSubstanceUnits()
public java.util.List getUnitDefinitions()
public boolean isUnit(java.lang.String name)
public void setUnitDefault(java.lang.String name,
UnitDefinition definition)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||