theory.smart.axiom.units
Interface Quantity
- All Known Implementing Classes:
- QuantityImpl
- public interface Quantity
- extends Belonging
The quantity of something. It has a count and a unit of measure (e.g. 4 bags, 5 liters)
count
[Quantity] <*>------> [double
]
unit
[Quantity] <*>------> [theory.smart.axiom.units.Unit
]
- See Also:
QuantityHome
,
QuantityImpl
Methods inherited from interface com.sun.java.util.collections.Comparable |
compareTo |
getCount
public double getCount()
- Get the value of count
- Returns:
- count.
setCount
public void setCount(double count)
- Set the value of count
- Parameters:
counts
- count to be added
getUnit
public Unit getUnit()
- Get the value of unit
- Returns:
- unit.
setUnit
public void setUnit(Unit unit)
- Set the value of unit
- Parameters:
units
- unit to be added
Copyright © 2000 BEA Systems, Inc. All Rights Reserved