|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jdo.impl.fostore.SubclassSet
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.
Field Summary | |
private java.util.HashSet |
clids
List of the clids which represent classes that are subclasses of the class indicated by the CLID in our oid. |
private OID |
oid
The oid of this list of subclasses. |
Constructor Summary | |
|
SubclassSet()
|
private |
SubclassSet(OID oid,
CLID clid)
Given clid is the first entry in the list. |
Method Summary | |
(package private) void |
add(CLID clid)
Add the given clid to the list. |
(package private) static SubclassSet |
create(OID oid,
CLID clid)
|
(package private) java.util.Iterator |
iterator()
|
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 |
Field Detail |
private OID oid
private java.util.HashSet clids
Constructor Detail |
private SubclassSet(OID oid, CLID clid)
public SubclassSet()
Method Detail |
static SubclassSet create(OID oid, CLID clid)
void add(CLID clid)
java.util.Iterator iterator()
public void write(java.io.OutputStream os) throws org.netbeans.mdr.persistence.StorageException
write
in interface org.netbeans.mdr.persistence.Streamable
org.netbeans.mdr.persistence.StorageException
public void read(java.io.InputStream is) throws org.netbeans.mdr.persistence.StorageException
read
in interface org.netbeans.mdr.persistence.Streamable
org.netbeans.mdr.persistence.StorageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |