com.novell.ecb.value
Interface NumberValue

All Superinterfaces:
Value
All Known Implementing Classes:
BasicIntegerValue

public interface NumberValue
extends Value

The NumberValue syntax is used for attributes whose values represent an int, a long, a float, a double, a byte, or a short.


Method Summary
 byte byteValue()
          Returns the value of this NumberValue object as a byte.
 double doubleValue()
          Returns the value of this NumberValue object as a double.
 float floatValue()
          Returns the value of this NumberValue object as a float.
 int intValue()
          Returns the value of this NumberValue object as an int.
 long longValue()
          Returns the value of this NumberValue object as a long.
 short shortValue()
          Returns the value of this NumberValue object as a short.
 
Methods inherited from interface com.novell.ecb.value.Value
compareTo, getName, getObjectInstance, getSyntaxName
 

Method Detail

intValue

public int intValue()
Returns the value of this NumberValue object as an int.

Returns:
int Integer value of this object.

longValue

public long longValue()
Returns the value of this NumberValue object as a long.

Returns:
long Long value of this object.

floatValue

public float floatValue()
Returns the value of this NumberValue object as a float.

Returns:
float Float value of this object.

doubleValue

public double doubleValue()
Returns the value of this NumberValue object as a double.

Returns:
double Double value of this object.

byteValue

public byte byteValue()
Returns the value of this NumberValue object as a byte.

Returns:
byte Byte value of this object.

shortValue

public short shortValue()
Returns the value of this NumberValue object as a short.

Returns:
short Short value of this object.


Copyright © 2001-2003 Novell, Inc. All Rights Reserved.