org.makumba.commons
Class SQLPointer

java.lang.Object
  extended by org.makumba.Pointer
      extended by org.makumba.commons.SQLPointer
All Implemented Interfaces:
Serializable

public class SQLPointer
extends Pointer

A SQL pointer, represents a pointer as a long, but only an int is needed...

Author:
Cristian Bogdan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.makumba.Pointer
MASK_ORDER, n, Null, NullBoolean, NullDate, NullInteger, NullReal, NullSet, NullString, NullText, type
 
Constructor Summary
SQLPointer(String type, int dbsv, int uid)
           
SQLPointer(String type, long n)
           
SQLPointer(String type, String s)
           
 
Method Summary
(package private) static long compute(int dbsv, int uid)
           
static int getMaskOrder()
           
 
Methods inherited from class org.makumba.Pointer
equals, getDbsv, getId, getType, getUid, hashCode, isNullObject, longValue, toExternalForm, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SQLPointer

public SQLPointer(String type,
                  long n)

SQLPointer

public SQLPointer(String type,
                  int dbsv,
                  int uid)

SQLPointer

public SQLPointer(String type,
                  String s)
Method Detail

compute

static long compute(int dbsv,
                    int uid)

getMaskOrder

public static int getMaskOrder()