org.jscience.physics.models
Class StandardModel

java.lang.Object
  extended by org.jscience.physics.models.PhysicalModel
      extended by org.jscience.physics.models.StandardModel
All Implemented Interfaces:
Dimension.Model

public class StandardModel
extends PhysicalModel

This class represents the standard model.


Field Summary
 
Fields inherited from interface javax.measure.unit.Dimension.Model
STANDARD
 
Constructor Summary
protected StandardModel()
          Default constructor (allows for derivation).
 
Method Summary
 Dimension getDimension(BaseUnit<?> unit)
          Returns the dimension of the specified base unit (a dimension particular to the base unit if the base unit is not recognized).
 UnitConverter getTransform(BaseUnit<?> unit)
          Returns the normalization transform of the specified base unit (IDENTITY if the base unit is not recognized).
static void select()
          Selects the standard model as the current model.
 
Methods inherited from class org.jscience.physics.models.PhysicalModel
current, setCurrent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardModel

protected StandardModel()
Default constructor (allows for derivation).

Method Detail

select

public static void select()
Selects the standard model as the current model.


getDimension

public Dimension getDimension(BaseUnit<?> unit)
Description copied from interface: Dimension.Model
Returns the dimension of the specified base unit (a dimension particular to the base unit if the base unit is not recognized).

Parameters:
unit - the base unit for which the dimension is returned.
Returns:
the dimension of the specified unit.

getTransform

public UnitConverter getTransform(BaseUnit<?> unit)
Description copied from interface: Dimension.Model
Returns the normalization transform of the specified base unit (IDENTITY if the base unit is not recognized).

Parameters:
unit - the base unit for which the transform is returned.
Returns:
the normalization transform.