|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
NumberValue objects represents numerical data. The interface is compatible with the Java Number class.
| Method Summary | |
byte |
byteValue()
Gets the data byte value. |
double |
doubleValue()
Gets the data double value. |
float |
floatValue()
Gets the data float value. |
int |
intValue()
Gets the data int value. |
long |
longValue()
Gets the data long value. |
java.lang.Number |
numberValue()
Gets the data Number value. |
void |
setValue(byte value)
Sets the data byte value. |
void |
setValue(double value)
Sets the data double value. |
void |
setValue(float value)
Sets the data float value. |
void |
setValue(int value)
Sets the data int value. |
void |
setValue(long value)
Sets the data long value. |
void |
setValue(java.lang.Number value)
Sets the data Number value. |
void |
setValue(short value)
Sets the data short value. |
short |
shortValue()
Gets the data short value. |
| Methods inherited from interface com.davisor.data.DataValue |
abs, add, ceil, deinterpolate, div, floor, getFormat, interpolate, max, min, mul, negate, setValue, sub, toStatement, toString, toXML, unit |
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Methods inherited from interface com.davisor.data.SerializableData |
isNull |
| Methods inherited from interface com.davisor.data.Data |
getType |
| Methods inherited from interface com.davisor.core.Dupable |
dup |
| Method Detail |
public byte byteValue()
public double doubleValue()
public float floatValue()
public int intValue()
public long longValue()
public short shortValue()
public java.lang.Number numberValue()
public void setValue(byte value)
throws InvalidDataException
InvalidDataException - if the value cannot
be converted to a byte value
public void setValue(double value)
throws InvalidDataException
InvalidDataException - if the value cannot
be converted to a double value
public void setValue(float value)
throws InvalidDataException
InvalidDataException - if the value cannot
be converted to a float value
public void setValue(int value)
throws InvalidDataException
InvalidDataException - if the value cannot
be converted to a int value
public void setValue(long value)
throws InvalidDataException
InvalidDataException - if the value cannot
be converted to a long value
public void setValue(java.lang.Number value)
throws InvalidDataException
InvalidDataException - if the value cannot
be converted to a long value
public void setValue(short value)
throws InvalidDataException
InvalidDataException - if the value cannot
be converted to a short value
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||