theory.smart.axiom.units
Class  UnitImpl
java.lang.Object
  |
  +--theory.smart.foundation.BelongingImpl
        |
        +--theory.smart.axiom.units.UnitImpl
- public class UnitImpl- extends BelongingImpl- implements Unit
A unit of measure.  Example include  ( liter, bag, ream etc.).  It is used together with a conversion factor to translate from one unit to another.
- See Also: 
- Unit,- UnitHome, Serialized Form
| Field Summary | 
|  java.lang.String | namename
 [Unit] <*>------> [
 String] | 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
toString, 
wait, 
wait, 
wait | 
 
name
public java.lang.String name
- 
                  name
 [Unit] <*>------> [- String]
UnitImpl
public UnitImpl()
getName
public java.lang.String getName()
- Get the value of name- 
- Specified by: 
- getName in interface Unit
 
- 
- Returns:
- name.
 
setName
public void setName(java.lang.String name)
- Set the value of name- 
- Specified by: 
- setName in interface Unit
 
- 
- Parameters:
- name- name to be added
 
value
public Belonging value()
- 
 
compareTo
public int compareTo(java.lang.Object o)
- 
- Overrides:
- compareTo in class BelongingImpl
 
©  Copyright  2000 bea Systems, Inc. All rights reserved.