org.pentaho.di.compatibility
Class ValueBoolean
java.lang.Object
org.pentaho.di.compatibility.ValueBoolean
- All Implemented Interfaces:
- Cloneable, ValueInterface
public class ValueBoolean
- extends Object
- implements ValueInterface, Cloneable
This class contains a Value of type Boolean.
- Since:
- 15-10-2004
- Author:
- Matt Casters
ValueBoolean
public ValueBoolean()
ValueBoolean
public ValueBoolean(boolean bool)
getType
public int getType()
- Specified by:
getType
in interface ValueInterface
getTypeDesc
public String getTypeDesc()
- Specified by:
getTypeDesc
in interface ValueInterface
getString
public String getString()
- Specified by:
getString
in interface ValueInterface
getNumber
public double getNumber()
- Specified by:
getNumber
in interface ValueInterface
getDate
public Date getDate()
- Specified by:
getDate
in interface ValueInterface
getBoolean
public boolean getBoolean()
- Specified by:
getBoolean
in interface ValueInterface
getInteger
public long getInteger()
- Specified by:
getInteger
in interface ValueInterface
setString
public void setString(String string)
- Specified by:
setString
in interface ValueInterface
setNumber
public void setNumber(double number)
- Specified by:
setNumber
in interface ValueInterface
setDate
public void setDate(Date date)
- Specified by:
setDate
in interface ValueInterface
setSerializable
public void setSerializable(Serializable ser)
- Specified by:
setSerializable
in interface ValueInterface
setBoolean
public void setBoolean(boolean bool)
- Specified by:
setBoolean
in interface ValueInterface
setInteger
public void setInteger(long number)
- Specified by:
setInteger
in interface ValueInterface
getLength
public int getLength()
- Specified by:
getLength
in interface ValueInterface
getPrecision
public int getPrecision()
- Specified by:
getPrecision
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
setPrecision
public void setPrecision(int precision)
- Specified by:
setPrecision
in interface ValueInterface
clone
public Object clone()
- Specified by:
clone
in interface ValueInterface
- Overrides:
clone
in class Object
getBigNumber
public BigDecimal getBigNumber()
- Specified by:
getBigNumber
in interface ValueInterface
setBigNumber
public void setBigNumber(BigDecimal number)
- Specified by:
setBigNumber
in interface ValueInterface
getSerializable
public Serializable getSerializable()
- Specified by:
getSerializable
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