org.openwms.core.domain.values
Interface Unit<T extends UnitType>

Type Parameters:
T - Type of Unit
All Known Implementing Classes:
Weight

public interface Unit<T extends UnitType>

A definition of any kind of unit used in the application. In general, Units are defined by a particular type of UnitType and a value. For example 42 grams is a weight, whereas weight is the Unit.

Since:
0.1
Version:
$Revision: 1595 $
Author:
Heiko Scherrer

Method Summary
 void convertTo(T unit)
          Convert this unit into another Unit.
 

Method Detail

convertTo

void convertTo(T unit)
Convert this unit into another Unit.

Parameters:
unit - The unit to convert to


Copyright © 2005-2011 openwms.org. All Rights Reserved.