| Modifier and Type | Method and Description |
|---|---|
UnitDefinition |
UnitDefinition.cloneObject()
Creates and returns a deep copy of this
UnitDefinition object. |
static UnitDefinition |
UnitDefinition.combine(UnitDefinition ud1,
UnitDefinition ud2)
Combines two
UnitDefinition objects into a single UnitDefinition. |
static UnitDefinition |
Unit.convertToSI(Unit unit)
Returns a
UnitDefinition object containing the given unit converted
to the appropriate SI unit. |
static UnitDefinition |
UnitDefinition.convertToSI(UnitDefinition ud)
Convert a given
UnitDefinition into a new UnitDefinition object
that uses SI units. |
UnitDefinition |
Model.createUnitDefinition()
Creates a new
UnitDefinition inside this Model and returns it. |
static UnitDefinition |
UnitDefinition.divide(UnitDefinition ud1,
UnitDefinition ud2)
Combines two
UnitDefinition objects into a single UnitDefinition as
a division. |
UnitDefinition |
ListOfUnitDefinitions.get(long n)
Get a
UnitDefinition from the ListOfUnitDefinitions. |
UnitDefinition |
ListOfUnitDefinitions.get(java.lang.String sid)
Get a
UnitDefinition from the ListOfUnitDefinitions
based on its identifier. |
UnitDefinition |
Rule.getDerivedUnitDefinition()
Calculates and returns a
UnitDefinition that expresses the units of
measurement assumed for the 'math' expression of this Rule. |
UnitDefinition |
StoichiometryMath.getDerivedUnitDefinition()
Calculates and returns a
UnitDefinition object that expresses the
units returned by the math expression in this StoichiometryMath
object. |
UnitDefinition |
Delay.getDerivedUnitDefinition()
Calculates and returns a
UnitDefinition that expresses the units
of measurement assumed for the 'math' expression of this Delay. |
UnitDefinition |
LocalParameter.getDerivedUnitDefinition()
Constructs and returns a
UnitDefinition that corresponds to the units
of this LocalParameter's value. |
UnitDefinition |
Compartment.getDerivedUnitDefinition()
Constructs and returns a
UnitDefinition that corresponds to the units
of this Compartment object's designated size. |
UnitDefinition |
EventAssignment.getDerivedUnitDefinition()
Calculates and returns a
UnitDefinition that expresses the units of
measurement assumed for the 'math' expression of this EventAssignment. |
UnitDefinition |
KineticLaw.getDerivedUnitDefinition()
Calculates and returns a
UnitDefinition that expresses the units of
measurement assumed for the 'math' expression of this KineticLaw. |
UnitDefinition |
InitialAssignment.getDerivedUnitDefinition()
Calculates and returns a
UnitDefinition that expresses the units
of measurement assumed for the 'math' expression of this
InitialAssignment. |
UnitDefinition |
Species.getDerivedUnitDefinition()
Constructs and returns a
UnitDefinition that corresponds to the units
of this Species' amount or concentration. |
UnitDefinition |
Parameter.getDerivedUnitDefinition()
Constructs and returns a
UnitDefinition that corresponds to the units
of this Parameter's value. |
UnitDefinition |
Model.getUnitDefinition(long n)
Get the nth
UnitDefinition object in this Model. |
UnitDefinition |
Model.getUnitDefinition(java.lang.String sid)
Get a
UnitDefinition based on its identifier. |
UnitDefinition |
ListOfUnitDefinitions.remove(long n)
Removes the nth item from this
ListOfUnitDefinitions items and returns a pointer to
it. |
UnitDefinition |
ListOfUnitDefinitions.remove(java.lang.String sid)
Removes item in this
ListOfUnitDefinitions items with the given identifier. |
UnitDefinition |
Model.removeUnitDefinition(long n)
Removes the nth
UnitDefinition object from this Model object and
returns a pointer to it. |
UnitDefinition |
Model.removeUnitDefinition(java.lang.String sid)
Removes the
UnitDefinition object with the given identifier from this Model
object and returns a pointer to it. |
| Modifier and Type | Method and Description |
|---|---|
int |
Model.addUnitDefinition(UnitDefinition ud)
Adds a copy of the given
UnitDefinition object to this Model. |
static boolean |
UnitDefinition.areEquivalent(UnitDefinition ud1,
UnitDefinition ud2)
Predicate returning
true if two
UnitDefinition objects are equivalent. |
static boolean |
UnitDefinition.areIdentical(UnitDefinition ud1,
UnitDefinition ud2)
Predicate returning
true if two
UnitDefinition objects are identical. |
static UnitDefinition |
UnitDefinition.combine(UnitDefinition ud1,
UnitDefinition ud2)
Combines two
UnitDefinition objects into a single UnitDefinition. |
static UnitDefinition |
UnitDefinition.convertToSI(UnitDefinition ud)
Convert a given
UnitDefinition into a new UnitDefinition object
that uses SI units. |
static UnitDefinition |
UnitDefinition.divide(UnitDefinition ud1,
UnitDefinition ud2)
Combines two
UnitDefinition objects into a single UnitDefinition as
a division. |
static java.lang.String |
UnitDefinition.printUnits(UnitDefinition ud)
Expresses the given definition in a plain-text form.
|
static java.lang.String |
UnitDefinition.printUnits(UnitDefinition ud,
boolean compact)
Expresses the given definition in a plain-text form.
|
static void |
UnitDefinition.reorder(UnitDefinition ud)
|
static void |
UnitDefinition.simplify(UnitDefinition ud)
Simplifies the
UnitDefinition such that any given kind of Unit object
occurs only once in the ListOfUnits. |
| Constructor and Description |
|---|
UnitDefinition(UnitDefinition orig)
Copy constructor; creates a copy of this
UnitDefinition. |