Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.vrspace.server.db
Class SQLClass  view SQLClass download SQLClass.java

java.lang.Object
  extended byorg.vrspace.server.db.SQLClass

class SQLClass
extends java.lang.Object

SQLClass is class whose objects describe classes that will be stored in db. Object of this class store information about class itself and class fields. Fields desribed are only public fields declared in that class, not fields declared in superclasses of this class.


Field Summary
(package private)  long classID
          Unique class number in db, must be >0
(package private)  java.lang.String className
          Full class name with points replaced by '_' ("org_vrspace_server_Transform")
(package private)  long[] fieldCntIDs
          If field is not primitive, it is stored elsewhere (in another db table), and can be reached by number stored here.
(package private)  java.lang.String[] fieldNames
           
(package private)  java.lang.reflect.Field[] fields
           
(package private)  int[] fieldTypes
          Field type according to types defined in org.vrspace.server.db.SQLDB class.
(package private)  long packageID
           
(package private)  java.sql.PreparedStatement stmt
          Insert SQL statement for inserting object of this class in db.
(package private)  long superClassID
          Must exists as classID in another SQLClass object, when class is root =0
 
Constructor Summary
(package private) SQLClass()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classID

long classID
Unique class number in db, must be >0


superClassID

long superClassID
Must exists as classID in another SQLClass object, when class is root =0


packageID

long packageID

className

java.lang.String className
Full class name with points replaced by '_' ("org_vrspace_server_Transform")


stmt

java.sql.PreparedStatement stmt
Insert SQL statement for inserting object of this class in db. Parameters are field values.


fields

java.lang.reflect.Field[] fields

fieldNames

java.lang.String[] fieldNames

fieldTypes

int[] fieldTypes
Field type according to types defined in org.vrspace.server.db.SQLDB class.


fieldCntIDs

long[] fieldCntIDs
If field is not primitive, it is stored elsewhere (in another db table), and can be reached by number stored here. This number is >0, unique for all non-primitive fields inside class. If field is primitive value of this number is 0.

Constructor Detail

SQLClass

SQLClass()