org.pentaho.di.compatibility
Interface ValueInterface
- All Known Implementing Classes:
- ValueBigNumber, ValueBinary, ValueBoolean, ValueDate, ValueInteger, ValueNumber, ValueSerializable, ValueString
public interface ValueInterface
This interface provides a way to look at a Number, String, Integer, Date... the same way.
The methods mentioned in this interface are common to all Value types.
- Since:
- 15-10-2004
- Author:
- Matt
getType
int getType()
getTypeDesc
String getTypeDesc()
getString
String getString()
getNumber
double getNumber()
getDate
Date getDate()
getBoolean
boolean getBoolean()
getInteger
long getInteger()
getBigNumber
BigDecimal getBigNumber()
getSerializable
Serializable getSerializable()
getBytes
byte[] getBytes()
setString
void setString(String string)
setNumber
void setNumber(double number)
setDate
void setDate(Date date)
setBoolean
void setBoolean(boolean bool)
setInteger
void setInteger(long number)
setBigNumber
void setBigNumber(BigDecimal number)
setSerializable
void setSerializable(Serializable ser)
setBytes
void setBytes(byte[] b)
getLength
int getLength()
getPrecision
int getPrecision()
setLength
void setLength(int length)
setPrecision
void setPrecision(int precision)
setLength
void setLength(int length,
int precision)
clone
Object clone()