org.apache.jdo.impl.fostore
Class DBClass.ClassDetail

java.lang.Object
  extended byorg.apache.jdo.impl.fostore.DBClass.ClassDetail
Enclosing class:
DBClass

class DBClass.ClassDetail
extends java.lang.Object

A ClassDetail represents a single field or PC superclass of a class that is (or was at one time) stored in the databse. When created, the given CLID might be provisional. If so, it will be replaced with a real CLID during ActivateClassHandler's finish phase.

See Also:
ActivateClassHandler.handleRequest()

Field Summary
(package private)  CLID clid
          CLID of the field or superclass.
(package private)  FOStoreSchemaUID fsuid
           
(package private)  java.lang.String name
          Name of the field or superclass.
 
Constructor Summary
(package private) DBClass.ClassDetail(java.io.DataInput in)
           
 
Method Summary
(package private)  CLID getCLID()
           
(package private)  void remap(FOStoreDatabase db)
          If the current clid is provisional, replace it with a real one if possible.
(package private)  void setCLID(CLID clid)
           
 java.lang.String toString()
           
(package private)  void write(java.io.DataOutputStream dos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

final java.lang.String name
Name of the field or superclass.


clid

CLID clid
CLID of the field or superclass. Not final, because it may be provisional when the ClassDetail is created, and updated later during finishing.


fsuid

final FOStoreSchemaUID fsuid
Constructor Detail

DBClass.ClassDetail

DBClass.ClassDetail(java.io.DataInput in)
              throws java.io.IOException
Method Detail

write

void write(java.io.DataOutputStream dos)
     throws java.io.IOException
Throws:
java.io.IOException

remap

void remap(FOStoreDatabase db)
If the current clid is provisional, replace it with a real one if possible.


getCLID

CLID getCLID()

setCLID

void setCLID(CLID clid)

toString

public java.lang.String toString()