com.beasys.commerce.axiom.units
Interface Quantity

All Superinterfaces
Belonging, BusinessSmartComponent, Cloneable, Comparable, Serializable
All Known Implementing Classes:
QuantityImpl

Deprecated See BEA Commerce product offering

@Deprecated
public interface Quantity
extends Belonging

The quantity of something. It has a count and a unit of measure (e.g. 4 bags, 5 liters) Attribute: unit

Attribute: count The number of units.

See Also
QuantityHome, QuantityImpl

Method Summary
 double getCount()
          Deprecated See BEA Commerce product offering
 Unit getUnit()
          Deprecated See BEA Commerce product offering
 void setCount(double count)
          Deprecated See BEA Commerce product offering
 void setUnit(Unit unit)
          Deprecated See BEA Commerce product offering
 
Methods inherited from interface com.beasys.commerce.foundation.Belonging
clone, equals, interfaceName, setByValue, value
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getUnit

Unit getUnit()
Deprecated See BEA Commerce product offering

Get the value of unit

Returns
unit.

setUnit

void setUnit(Unit unit)
Deprecated See BEA Commerce product offering

Set the value of unit

Parameters
unit - unit to be added

getCount

double getCount()
Deprecated See BEA Commerce product offering

Get the value of count

Returns
count.

setCount

void setCount(double count)
Deprecated See BEA Commerce product offering

Set the value of count

Parameters
count - count to be added


Copyright © 2008 BEA Systems, Inc. All Rights Reserved