wt.units.service
Interface LiteDisplayUnitsHolder

All Known Implementing Classes:
DefaultDisplayUnitsHolder, QuantityOfMeasureDefaultView, UnitDefView

public interface LiteDisplayUnitsHolder



Supported API: false

Extendable: false


Method Summary
 Object clone()
          

Supported API: false
 Enumeration defaultDisplayUnitsKeys()
          Returns the keys to the default measurement system display units hashtable keys.
 Enumeration displayUnitsKeys()
          Returns an enumeration of the keys to the internal hashtable.
 String getDefaultDisplayUnitString(String measurementSystemName)
          Gets the default unit display string given the MeasurementSystem name .
 String getDisplayUnitString(String measurementSystemName)
          Given a MeasurementSystem name as key, return the displayUnitString as return value.
 void setDefaultDisplayUnitString(String measurementSystemName, String defaultDisplayUnit)
          Sets the default display unit string given the MeasurementSystem name as key.
 void setDisplayUnitString(String measurementSystemName, String unitDisplayInfoString)
          Sets a MeasurementSystem name as key, and an unitDisplayInfo String as value.
 

Method Detail

getDisplayUnitString

public String getDisplayUnitString(String measurementSystemName)
Given a MeasurementSystem name as key, return the displayUnitString as return value.

Supported API: false

Parameters:
measurementSystemName -
Returns:
String

setDisplayUnitString

public void setDisplayUnitString(String measurementSystemName,
                                 String unitDisplayInfoString)
Sets a MeasurementSystem name as key, and an unitDisplayInfo String as value. Stores internally in Hashtable.

Supported API: false

Parameters:
measurementSystemName -
unitDisplayInfoString -

displayUnitsKeys

public Enumeration displayUnitsKeys()
Returns an enumeration of the keys to the internal hashtable.

Supported API: false

Returns:
Enumeration

getDefaultDisplayUnitString

public String getDefaultDisplayUnitString(String measurementSystemName)
Gets the default unit display string given the MeasurementSystem name .

Supported API: false

Parameters:
measurementSystemName -
Returns:
String

setDefaultDisplayUnitString

public void setDefaultDisplayUnitString(String measurementSystemName,
                                        String defaultDisplayUnit)
Sets the default display unit string given the MeasurementSystem name as key.

Supported API: false

Parameters:
measurementSystemName -
defaultDisplayUnit -

defaultDisplayUnitsKeys

public Enumeration defaultDisplayUnitsKeys()
Returns the keys to the default measurement system display units hashtable keys.

Supported API: false

Returns:
Enumeration

clone

public Object clone()


Supported API: false

Returns:
Object