org.pentaho.di.compatibility
Class ValueSerializable
java.lang.Object
org.pentaho.di.compatibility.ValueSerializable
- All Implemented Interfaces:
- Cloneable, ValueInterface
public class ValueSerializable
- extends Object
- implements ValueInterface, Cloneable
ValueSerializable
public ValueSerializable(Serializable ser)
getSerializable
public Serializable getSerializable()
- Specified by:
getSerializable
in interface ValueInterface
getPrecision
public int getPrecision()
- Specified by:
getPrecision
in interface ValueInterface
getString
public String getString()
- Specified by:
getString
in interface ValueInterface
getType
public int getType()
- Specified by:
getType
in interface ValueInterface
getTypeDesc
public String getTypeDesc()
- Specified by:
getTypeDesc
in interface ValueInterface
clone
public Object clone()
- Specified by:
clone
in interface ValueInterface
- Overrides:
clone
in class Object
setBigNumber
public void setBigNumber(BigDecimal number)
- Specified by:
setBigNumber
in interface ValueInterface
setBoolean
public void setBoolean(boolean bool)
- Specified by:
setBoolean
in interface ValueInterface
setDate
public void setDate(Date date)
- Specified by:
setDate
in interface ValueInterface
setInteger
public void setInteger(long number)
- Specified by:
setInteger
in interface ValueInterface
setLength
public void setLength(int length,
int precision)
- Specified by:
setLength
in interface ValueInterface
setLength
public void setLength(int length)
- Specified by:
setLength
in interface ValueInterface
setNumber
public void setNumber(double number)
- Specified by:
setNumber
in interface ValueInterface
setPrecision
public void setPrecision(int precision)
- Specified by:
setPrecision
in interface ValueInterface
setString
public void setString(String string)
- Specified by:
setString
in interface ValueInterface
setSerializable
public void setSerializable(Serializable ser)
- Specified by:
setSerializable
in interface ValueInterface
getBigNumber
public BigDecimal getBigNumber()
- Specified by:
getBigNumber
in interface ValueInterface
getBoolean
public boolean getBoolean()
- Specified by:
getBoolean
in interface ValueInterface
getDate
public Date getDate()
- Specified by:
getDate
in interface ValueInterface
getInteger
public long getInteger()
- Specified by:
getInteger
in interface ValueInterface
getLength
public int getLength()
- Specified by:
getLength
in interface ValueInterface
getNumber
public double getNumber()
- Specified by:
getNumber
in interface ValueInterface
getBytes
public byte[] getBytes()
- Specified by:
getBytes
in interface ValueInterface
setBytes
public void setBytes(byte[] b)
- Specified by:
setBytes
in interface ValueInterface