|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--theory.smart.foundation.EntityImpl | +--theory.smart.axiom.units.UnitListImpl
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
UnitList
,
UnitListHome
,
UnitListValue
, Serialized FormField Summary | |
java.lang.String |
grouping
grouping [UnitList] <*>------> [ String ] (Primary Key)
|
com.sun.java.util.collections.TreeMap |
unitses
units (Map) [UnitList] <*>------> [ theory.smart.axiom.units.UnitCategories ]
0..*
|
Fields inherited from class theory.smart.foundation.EntityImpl |
ctx,
isDirty,
isLoaded |
Constructor Summary | |
UnitListImpl()
|
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. |
void |
ejbActivate()
ejbActivate method. |
UnitListPk |
ejbCreate(UnitListPk unitListPk)
|
java.util.Enumeration |
ejbFindAll()
|
UnitListPk |
ejbFindByPrimaryKey(UnitListPk pk)
|
void |
ejbLoad()
ejbLoad method. |
void |
ejbPassivate()
ejbPassivate method. |
void |
ejbPostCreate(UnitListPk unitListPk)
|
void |
ejbRemove()
ejbRemove method. |
void |
ejbStore()
ejbStore method. |
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 |
setEntityContext(javax.ejb.EntityContext ctx)
setEntityContext method. |
void |
setUnitListByValue(UnitListValue value)
Set all of UnitList's attributes to the passed in value. |
void |
unsetEntityContext()
unsetEntityContext method. |
Methods inherited from class theory.smart.foundation.EntityImpl |
ejbCreate,
ejbPostCreate,
getEntityContext,
isModified |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public java.lang.String grouping
grouping
[UnitList] <*>------> [String
] (Primary Key)
public com.sun.java.util.collections.TreeMap unitses
units (Map)
[UnitList] <*>------> [theory.smart.axiom.units.UnitCategories
]
0..*
Constructor Detail |
public UnitListImpl() throws javax.ejb.CreateException
Method Detail |
public UnitListValue getUnitListByValue() throws java.rmi.RemoteException
public void setUnitListByValue(UnitListValue value) throws java.rmi.RemoteException
UnitListValue
- the UnitList value objectpublic UnitListPk ejbCreate(UnitListPk unitListPk) throws javax.ejb.CreateException, java.rmi.RemoteException
public void ejbPostCreate(UnitListPk unitListPk) throws javax.ejb.CreateException, java.rmi.RemoteException
public void ejbLoad() throws java.rmi.RemoteException
public void ejbStore() throws java.rmi.RemoteException
public void ejbRemove() throws java.rmi.RemoteException, javax.ejb.RemoveException
public void ejbActivate() throws java.rmi.RemoteException
public void ejbPassivate() throws java.rmi.RemoteException
public void setEntityContext(javax.ejb.EntityContext ctx) throws java.rmi.RemoteException
public void unsetEntityContext() throws java.rmi.RemoteException
public UnitListPk ejbFindByPrimaryKey(UnitListPk pk) throws javax.ejb.FinderException, java.rmi.RemoteException
public java.util.Enumeration ejbFindAll() throws javax.ejb.FinderException, java.rmi.RemoteException
public 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 |