oajava.sql
Class xo_val

java.lang.Object
  |
  +--oajava.sql.xo_val

public class xo_val
extends java.lang.Object

This class is basically allow IP writer to hold/change primitive type values.


Constructor Summary
xo_val()
          Intialize the object with zero value.
 
Method Summary
 double getDouble()
          Get the double value.
 float getFloat()
          Get the float value.
 int getInt()
          Get the integer value.
 short getShort()
          Get the short value.
 void setDouble(double dVal)
          Set the double value.
 void setFloat(float fVal)
          Set the float value.
 void setInt(int iVal)
          Set the integer value.
 void setShort(short sVal)
          Set the short value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

xo_val

public xo_val()
Intialize the object with zero value.
Method Detail

setShort

public void setShort(short sVal)
Set the short value.

Parameters:
sVal - The short value.

setInt

public void setInt(int iVal)
Set the integer value.

Parameters:
iVal - The integer value.

setFloat

public void setFloat(float fVal)
Set the float value.

Parameters:
fVal - The float value.

setDouble

public void setDouble(double dVal)
Set the double value.

Parameters:
dVal - The double value.

getShort

public short getShort()
Get the short value.

Returns:
The short value.

getInt

public int getInt()
Get the integer value.

Returns:
The integer value.

getFloat

public float getFloat()
Get the float value.

Returns:
The float value.

getDouble

public double getDouble()
Get the double value.

Returns:
The double value.