|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Unit List provides a cross reference for Unit such that for a specified unit the approriate Unit Conversion can be found.
Primary Key = theory.smart.axiom.units.UnitListPk
grouping
[UnitList] <*>------> [String
] (Primary Key)
units (Map)
[UnitList] <*>------> [theory.smart.axiom.units.UnitCategories
]
0..*
UnitListPk
,
UnitListHome
,
UnitListImpl
,
UnitListValue
Method Summary | |
boolean |
containsUnitsKey(java.lang.String key)
Returns true if the units map contains a units for the specified key. |
boolean |
containsUnitsValue(UnitCategories units)
Returns true if the units map maps one or more keys to the specified units. |
java.lang.String |
getGrouping()
|
int |
getNumberOfUnitses()
Returns the number of key-value mappings in the units map. |
UnitListValue |
getUnitListByValue()
Get all of UnitList's attributes. |
UnitCategories |
getUnitsByKey(java.lang.String key)
Returns the units to which the units map maps the specified key. |
com.sun.java.util.collections.TreeMap |
getUnitses()
Returns a copy all of the unitses from the specified map to the units map. |
boolean |
isUnitsesEmpty()
Returns true if the units map contains no key-value mappings. |
void |
putUnits(java.lang.String key,
UnitCategories units)
Associates the specified units with the specified key in the units map. |
void |
putUnitses(com.sun.java.util.collections.TreeMap unitses)
Copies all of the unitses from the specified units map to this units map. |
void |
removeAllUnitses()
Removes all unitses from this units map. |
UnitCategories |
removeUnitsByKey(java.lang.String key)
Removes the units for this key from this units map if present. |
void |
setUnitListByValue(UnitListValue value)
Set all of UnitList's attributes to the passed in value. |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
Method Detail |
public UnitListValue getUnitListByValue() throws java.rmi.RemoteException
public void setUnitListByValue(UnitListValue value) throws java.rmi.RemoteException
UnitListValue
- the UnitList value objectpublic java.lang.String getGrouping() throws java.rmi.RemoteException
public boolean containsUnitsKey(java.lang.String key) throws java.rmi.RemoteException
key
- key whose presence in the units map is to be tested.public boolean containsUnitsValue(UnitCategories units) throws java.rmi.RemoteException
units
- value of units whose presence in the units map is to be tested.public UnitCategories getUnitsByKey(java.lang.String key) throws java.rmi.RemoteException
key
- key whose associated units is to be returned.#containsKey(Object)
public com.sun.java.util.collections.TreeMap getUnitses() throws java.rmi.RemoteException
unitses
- a copy of the unitses.public int getNumberOfUnitses() throws java.rmi.RemoteException
public boolean isUnitsesEmpty() throws java.rmi.RemoteException
public void putUnits(java.lang.String key, UnitCategories units) throws java.rmi.RemoteException
key
- key with which the specified units is to be associated.units
- units to be associated with the specified key.public void putUnitses(com.sun.java.util.collections.TreeMap unitses) throws java.rmi.RemoteException
units
- Unitses to be stored in the units map.public void removeAllUnitses() throws java.rmi.RemoteException
public UnitCategories removeUnitsByKey(java.lang.String key) throws java.rmi.RemoteException
key
- key with which the specified units is associated.
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |