org.rr0.im.business.event.circumstance
Class LengthImpl


public class LengthImpl
implements Length

Length Reference Implementation.

Author:
Jérôme Beau
Version: 4 mai 2003 21:04:44

Field Summary
 private doublelength
          The length, in meters.
 static LengthUNKNOWN
           

Constructor Summary
LengthImpl(double someLength)
           

Method Summary
 doublegetValue(Locale locale)
           
 doubletoFeet()
           
 doubletoMeters()
           

Field Detail

length

private double length
The length, in meters.

UNKNOWN

public static Length UNKNOWN
Constructor Detail

LengthImpl

public LengthImpl(double someLength)
Method Detail

getValue

public double getValue(Locale locale)
Parameters:
locale The desired locale
Returns: The distance value, according to the locale

toFeet

public double toFeet()
Returns: The distance value, in feet

toMeters

public double toMeters()
Returns: The distance value, in meters

Association Links

to Class org.rr0.im.business.event.circumstance.Length