Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Method Summary
`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)`

Method Detail

### 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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD