public class ValueNumber extends Object implements ValueInterface, Cloneable
Constructor and Description |
---|
ValueNumber() |
ValueNumber(double number) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
BigDecimal |
getBigNumber() |
boolean |
getBoolean() |
byte[] |
getBytes() |
Date |
getDate() |
long |
getInteger() |
int |
getLength() |
double |
getNumber() |
int |
getPrecision() |
Serializable |
getSerializable() |
String |
getString() |
int |
getType() |
String |
getTypeDesc() |
void |
setBigNumber(BigDecimal number) |
void |
setBoolean(boolean bool) |
void |
setBytes(byte[] b) |
void |
setDate(Date date) |
void |
setInteger(long number) |
void |
setLength(int length) |
void |
setLength(int length,
int precision) |
void |
setNumber(double number) |
void |
setPrecision(int precision) |
void |
setSerializable(Serializable ser) |
void |
setString(String string) |
public int getType()
getType
in interface ValueInterface
public String getTypeDesc()
getTypeDesc
in interface ValueInterface
public String getString()
getString
in interface ValueInterface
public void setSerializable(Serializable ser)
setSerializable
in interface ValueInterface
public double getNumber()
getNumber
in interface ValueInterface
public Date getDate()
getDate
in interface ValueInterface
public boolean getBoolean()
getBoolean
in interface ValueInterface
public long getInteger()
getInteger
in interface ValueInterface
public void setString(String string)
setString
in interface ValueInterface
public void setNumber(double number)
setNumber
in interface ValueInterface
public void setDate(Date date)
setDate
in interface ValueInterface
public void setBoolean(boolean bool)
setBoolean
in interface ValueInterface
public void setInteger(long number)
setInteger
in interface ValueInterface
public int getLength()
getLength
in interface ValueInterface
public int getPrecision()
getPrecision
in interface ValueInterface
public void setLength(int length, int precision)
setLength
in interface ValueInterface
public void setLength(int length)
setLength
in interface ValueInterface
public void setPrecision(int precision)
setPrecision
in interface ValueInterface
public Object clone()
clone
in interface ValueInterface
clone
in class Object
public BigDecimal getBigNumber()
getBigNumber
in interface ValueInterface
public void setBigNumber(BigDecimal number)
setBigNumber
in interface ValueInterface
public Serializable getSerializable()
getSerializable
in interface ValueInterface
public byte[] getBytes()
getBytes
in interface ValueInterface
public void setBytes(byte[] b)
setBytes
in interface ValueInterface