Overview | Package | Class | Tree | Deprecated | Index | Help
| bea Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`

Method Summary
`double` | `getCount()` Get the value of count
`Unit` | `getUnit()` Get the value of unit
`void` | `setCount(double count)` Set the value of count
`void` | `setUnit(Unit unit)` Set the value of unit

Methods inherited from interface theory.smart.foundation.Belonging
`equals, value`

Methods inherited from interface com.sun.java.util.collections.Comparable
`compareTo`

Method Detail

### 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

Overview | Package | Class | Tree | Deprecated | Index | Help
| bea Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

© Copyright 2000 bea Systems, Inc. All rights reserved.