org.apache.jdo.impl.fostore
Class DBClass

java.lang.Object
  extended byorg.apache.jdo.impl.fostore.DBClass
All Implemented Interfaces:
org.netbeans.mdr.persistence.Streamable

public class DBClass
extends java.lang.Object
implements org.netbeans.mdr.persistence.Streamable

Represents a class stored in the database.

This class is public so that it can be used as a Streamable and stored in the database.

Author:
Dave Bristor

Constructor Summary
DBClass()
           
 
Method Summary
 void read(java.io.InputStream is)
          Initialize this DBClass from the given stream.
 java.lang.String toString()
           
 void write(java.io.OutputStream os)
          Write this DBClass to the given stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBClass

public DBClass()
Method Detail

toString

public java.lang.String toString()

write

public void write(java.io.OutputStream os)
           throws org.netbeans.mdr.persistence.StorageException
Write this DBClass to the given stream.

Specified by:
write in interface org.netbeans.mdr.persistence.Streamable
Throws:
org.netbeans.mdr.persistence.StorageException

read

public void read(java.io.InputStream is)
          throws org.netbeans.mdr.persistence.StorageException
Initialize this DBClass from the given stream.

Specified by:
read in interface org.netbeans.mdr.persistence.Streamable
Throws:
org.netbeans.mdr.persistence.StorageException


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.