|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.BitSet
org.jpox.sco.BitSet
public class BitSet
A mutable second-class BitSet object.
| Constructor Summary | |
|---|---|
BitSet(StateManager ownerSM,
java.lang.String fieldName)
Creates a BitSet object. |
|
| Method Summary | |
|---|---|
void |
and(java.util.BitSet set)
|
void |
andNot(java.util.BitSet set)
|
void |
attachCopy(java.lang.Object value)
Method to attached the passed value. |
void |
clear(int bitIndex)
|
java.lang.Object |
clone()
Creates and returns a copy of this object. |
void |
detach(FetchPlanState state)
Method to detach the BitSet. |
java.lang.Object |
detachCopy(FetchPlanState state)
Method to detach a copy. |
java.lang.String |
getFieldName()
Accessor for the field name |
java.lang.Object |
getOwner()
Accessor for the owner. |
void |
makeDirty()
Utility to mark the object as dirty |
void |
makeTransient(FetchPlanState state)
Method to make transient this object. |
void |
or(java.util.BitSet set)
|
void |
runReachability(java.util.Set reachables)
Method to run reachability on this SCO. |
void |
set(int bitIndex)
|
void |
setValueFrom(java.lang.Object o,
boolean forUpdate)
Mutator for the value, using an object. |
void |
unsetOwner()
Utility to unset the owner. |
protected java.lang.Object |
writeReplace()
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream. |
void |
xor(java.util.BitSet set)
|
| Methods inherited from class java.util.BitSet |
|---|
cardinality, clear, clear, equals, flip, flip, get, get, hashCode, intersects, isEmpty, length, nextClearBit, nextSetBit, set, set, set, size, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BitSet(StateManager ownerSM,
java.lang.String fieldName)
ownerSM - the owning objectfieldName - the owning field name| Method Detail |
|---|
public void setValueFrom(java.lang.Object o,
boolean forUpdate)
setValueFrom in interface SCOo - The ObjectforUpdate - Whether to update the object in the datastore with this valuepublic void unsetOwner()
unsetOwner in interface SCOpublic java.lang.Object getOwner()
getOwner in interface SCOpublic java.lang.String getFieldName()
getFieldName in interface SCOpublic void makeDirty()
public void runReachability(java.util.Set reachables)
runReachability in interface SCOreachables - List of StateManagers reachable so farpublic void makeTransient(FetchPlanState state)
makeTransient in interface SCOstate - State for the fetchplan processpublic void detach(FetchPlanState state)
detach in interface SCOstate - State for the detachment processpublic java.lang.Object detachCopy(FetchPlanState state)
detachCopy in interface SCOstate - State for detachment process
public void attachCopy(java.lang.Object value)
attachCopy in interface SCOvalue - The new valuepublic java.lang.Object clone()
Mutable second-class Objects are required to provide a public clone method in order to allow for copying PersistenceCapable objects. In contrast to Object.clone(), this method must not throw a CloneNotSupportedException.
clone in interface SCOclone in class java.util.BitSet
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionpublic void and(java.util.BitSet set)
and in class java.util.BitSetpublic void andNot(java.util.BitSet set)
andNot in class java.util.BitSetpublic void clear(int bitIndex)
clear in class java.util.BitSetpublic void or(java.util.BitSet set)
or in class java.util.BitSetpublic void set(int bitIndex)
set in class java.util.BitSetpublic void xor(java.util.BitSet set)
xor in class java.util.BitSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||