org.eyedb
Class Value

java.lang.Object
  extended by org.eyedb.Value

public class Value
extends java.lang.Object


Field Summary
static int ARRAY
           
static int BAG
           
static int BOOL
           
static int BYTE
           
static int CHAR
           
static int DATA
           
static int DOUBLE
           
static int IDENT
           
static int INT
           
static int LIST
           
static int LONG
           
static int NIL
           
static int NULL
           
static int OBJECT
           
static int OBJECTPTR
           
static int OID
           
static int POBJ
           
static int SET
           
static int SHORT
           
static int STRING
           
static int STRUCT
           
 
Constructor Summary
Value()
           
Value(boolean b)
           
Value(byte by)
           
Value(byte[] idr)
           
Value(char c)
           
Value(double d)
           
Value(int i)
           
Value(long i)
           
Value(Object o)
           
Value(Oid oid)
           
Value(short s)
           
Value(java.lang.String str)
           
Value(java.lang.String str, boolean isident)
           
Value(ValueStruct stru)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 boolean getBoolean()
           
 byte getByte()
           
 char getChar()
           
 byte[] getData()
           
 double getDouble()
           
 int getInt()
           
 long getLong()
           
 Object getObject()
           
 Oid getObjOid()
           
 Oid getOid()
           
 short getShort()
           
 java.lang.String getString()
           
 int getType()
           
 int hashCode()
           
 void print()
           
 void set()
           
 void set(boolean b)
           
 void set(byte by)
           
 void set(byte[] idr)
           
 void set(char c)
           
 void set(double d)
           
 void set(int i)
           
 void set(java.util.LinkedList list, int type)
           
 void set(long i)
           
 void set(Object o)
           
 void set(Oid oid)
           
 void set(short s)
           
 void set(java.lang.String str)
           
 void set(java.lang.String str, boolean isident)
           
 void set(Value v)
           
 void set(ValueStruct stru)
           
 void setToNil()
           
 void setToNull()
           
 boolean sgetBoolean()
           
 byte sgetByte()
           
 char sgetChar()
           
 byte[] sgetData()
           
 double sgetDouble()
           
 int sgetInt()
           
 long sgetLong()
           
 Object sgetObject()
           
 Oid sgetObjOid()
           
 Oid sgetOid()
           
 short sgetShort()
           
 java.lang.String sgetString()
           
 void toArray(Database db, ObjectArray obj_arr)
           
 void toArray(Database db, ObjectArray obj_arr, RecMode rcm)
           
 void toArray(OidArray oid_arr)
           
 void toArray(ValueArray val_arr)
           
 void toOidObjectArray(Database db, java.util.LinkedList tlist, boolean isobj, RecMode rcm)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NIL

public static final int NIL
See Also:
Constant Field Values

NULL

public static final int NULL
See Also:
Constant Field Values

BOOL

public static final int BOOL
See Also:
Constant Field Values

BYTE

public static final int BYTE
See Also:
Constant Field Values

CHAR

public static final int CHAR
See Also:
Constant Field Values

SHORT

public static final int SHORT
See Also:
Constant Field Values

INT

public static final int INT
See Also:
Constant Field Values

LONG

public static final int LONG
See Also:
Constant Field Values

DOUBLE

public static final int DOUBLE
See Also:
Constant Field Values

IDENT

public static final int IDENT
See Also:
Constant Field Values

STRING

public static final int STRING
See Also:
Constant Field Values

DATA

public static final int DATA
See Also:
Constant Field Values

OID

public static final int OID
See Also:
Constant Field Values

OBJECT

public static final int OBJECT
See Also:
Constant Field Values

OBJECTPTR

public static final int OBJECTPTR
See Also:
Constant Field Values

POBJ

public static final int POBJ
See Also:
Constant Field Values

LIST

public static final int LIST
See Also:
Constant Field Values

SET

public static final int SET
See Also:
Constant Field Values

ARRAY

public static final int ARRAY
See Also:
Constant Field Values

BAG

public static final int BAG
See Also:
Constant Field Values

STRUCT

public static final int STRUCT
See Also:
Constant Field Values
Constructor Detail

Value

public Value()

Value

public Value(byte by)

Value

public Value(boolean b)

Value

public Value(int i)

Value

public Value(long i)

Value

public Value(short s)

Value

public Value(char c)

Value

public Value(double d)

Value

public Value(java.lang.String str)

Value

public Value(java.lang.String str,
             boolean isident)

Value

public Value(Oid oid)

Value

public Value(Object o)

Value

public Value(byte[] idr)

Value

public Value(ValueStruct stru)
Method Detail

set

public void set()

setToNil

public void setToNil()

setToNull

public void setToNull()

set

public void set(boolean b)

set

public void set(byte by)

set

public void set(char c)

set

public void set(short s)

set

public void set(int i)

set

public void set(long i)

set

public void set(double d)

set

public void set(java.lang.String str,
                boolean isident)

set

public void set(java.lang.String str)

set

public void set(byte[] idr)

set

public void set(Oid oid)

set

public void set(Object o)

set

public void set(ValueStruct stru)

set

public void set(java.util.LinkedList list,
                int type)
         throws Exception
Throws:
Exception

set

public void set(Value v)
         throws Exception
Throws:
Exception

getType

public int getType()

sgetBoolean

public boolean sgetBoolean()

sgetByte

public byte sgetByte()

sgetChar

public char sgetChar()

sgetShort

public short sgetShort()

sgetInt

public int sgetInt()

sgetLong

public long sgetLong()

sgetDouble

public double sgetDouble()

sgetString

public java.lang.String sgetString()

sgetOid

public Oid sgetOid()

sgetObjOid

public Oid sgetObjOid()

sgetObject

public Object sgetObject()

sgetData

public byte[] sgetData()

getBoolean

public boolean getBoolean()
                   throws Exception
Throws:
Exception

getByte

public byte getByte()
             throws Exception
Throws:
Exception

getChar

public char getChar()
             throws Exception
Throws:
Exception

getShort

public short getShort()
               throws Exception
Throws:
Exception

getInt

public int getInt()
           throws Exception
Throws:
Exception

getLong

public long getLong()
             throws Exception
Throws:
Exception

getDouble

public double getDouble()
                 throws Exception
Throws:
Exception

getString

public java.lang.String getString()
                           throws Exception
Throws:
Exception

getObjOid

public Oid getObjOid()
              throws Exception
Throws:
Exception

getOid

public Oid getOid()
           throws Exception
Throws:
Exception

getObject

public Object getObject()
                 throws Exception
Throws:
Exception

getData

public byte[] getData()
               throws Exception
Throws:
Exception

print

public void print()
           throws Exception
Throws:
Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toArray

public void toArray(Database db,
                    ObjectArray obj_arr)
             throws Exception
Throws:
Exception

toArray

public void toArray(Database db,
                    ObjectArray obj_arr,
                    RecMode rcm)
             throws Exception
Throws:
Exception

toArray

public void toArray(OidArray oid_arr)
             throws Exception
Throws:
Exception

toOidObjectArray

public void toOidObjectArray(Database db,
                             java.util.LinkedList tlist,
                             boolean isobj,
                             RecMode rcm)
                      throws Exception
Throws:
Exception

toArray

public void toArray(ValueArray val_arr)