org.apache.jdo.impl.fostore
Class SubclassSet

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

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

Represents a set of CLIDs of subclasses of a given class.

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

Author:
Dave Bristor

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

Constructor Detail

SubclassSet

public SubclassSet()
Method Detail

write

public void write(java.io.OutputStream os)
           throws org.netbeans.mdr.persistence.StorageException
Write this SubclassSet 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 SubclassSet from the given stream.

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


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