Package org.pentaho.di.compatibility
Class ValueString
java.lang.Object
org.pentaho.di.compatibility.ValueString
- All Implemented Interfaces:
Cloneable
,ValueInterface
This class contains a Value of type String and the length by which it is described.
- Since:
- 15-10-2004
- Author:
- Matt
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
byte[]
getBytes()
getDate()
long
int
double
int
int
getType()
void
setBigNumber
(BigDecimal number) void
setBoolean
(boolean bool) void
setBytes
(byte[] b) void
void
setInteger
(long number) void
setLength
(int length) void
setLength
(int length, int precision) void
setNumber
(double number) void
setPrecision
(int precision) void
void
-
Constructor Details
-
ValueString
public ValueString() -
ValueString
-
-
Method Details
-
getType
public int getType()- Specified by:
getType
in interfaceValueInterface
-
getTypeDesc
- Specified by:
getTypeDesc
in interfaceValueInterface
-
getString
- Specified by:
getString
in interfaceValueInterface
-
getNumber
public double getNumber()- Specified by:
getNumber
in interfaceValueInterface
-
getDate
- Specified by:
getDate
in interfaceValueInterface
-
getBoolean
public boolean getBoolean()- Specified by:
getBoolean
in interfaceValueInterface
-
getInteger
public long getInteger()- Specified by:
getInteger
in interfaceValueInterface
-
setString
- Specified by:
setString
in interfaceValueInterface
-
setNumber
public void setNumber(double number) - Specified by:
setNumber
in interfaceValueInterface
-
setDate
- Specified by:
setDate
in interfaceValueInterface
-
setBoolean
public void setBoolean(boolean bool) - Specified by:
setBoolean
in interfaceValueInterface
-
setInteger
public void setInteger(long number) - Specified by:
setInteger
in interfaceValueInterface
-
getLength
public int getLength()- Specified by:
getLength
in interfaceValueInterface
-
getPrecision
public int getPrecision()- Specified by:
getPrecision
in interfaceValueInterface
-
setLength
public void setLength(int length, int precision) - Specified by:
setLength
in interfaceValueInterface
-
setLength
public void setLength(int length) - Specified by:
setLength
in interfaceValueInterface
-
setPrecision
public void setPrecision(int precision) - Specified by:
setPrecision
in interfaceValueInterface
-
clone
- Specified by:
clone
in interfaceValueInterface
- Overrides:
clone
in classObject
-
getBigNumber
- Specified by:
getBigNumber
in interfaceValueInterface
-
setBigNumber
- Specified by:
setBigNumber
in interfaceValueInterface
-
getSerializable
- Specified by:
getSerializable
in interfaceValueInterface
-
setSerializable
- Specified by:
setSerializable
in interfaceValueInterface
-
getBytes
public byte[] getBytes()- Specified by:
getBytes
in interfaceValueInterface
-
setBytes
public void setBytes(byte[] b) - Specified by:
setBytes
in interfaceValueInterface
-