public class BitSet extends BitSet implements SCO
Modifier and Type | Field and Description |
---|---|
protected AbstractMemberMetaData |
ownerMmd |
protected ObjectProvider |
ownerOP |
Constructor and Description |
---|
BitSet(ObjectProvider op,
AbstractMemberMetaData mmd)
Creates a BitSet object.
|
Modifier and Type | Method and Description |
---|---|
void |
and(BitSet set) |
void |
andNot(BitSet set) |
void |
attachCopy(Object value)
Method to attached the passed value.
|
void |
clear() |
void |
clear(int bitIndex) |
void |
clear(int fromIndex,
int toIndex) |
Object |
clone()
Creates and returns a copy of this object.
|
Object |
detachCopy(FetchPlanState state)
Method to detach a copy.
|
void |
flip(int bitIndex) |
void |
flip(int fromIndex,
int toIndex) |
String |
getFieldName()
Accessor for the field name
|
Object |
getOwner()
Accessor for the owner.
|
Object |
getValue()
Accessor for the unwrapped value that we are wrapping.
|
void |
initialise()
Method to initialise the SCO for use.
|
void |
initialise(Object o,
boolean forInsert,
boolean forUpdate)
Method to initialise the SCO from an existing value.
|
void |
makeDirty()
Utility to mark the object as dirty
|
void |
or(BitSet set) |
void |
set(int bitIndex) |
void |
set(int bitIndex,
boolean value) |
void |
set(int fromIndex,
int toIndex) |
void |
set(int fromIndex,
int toIndex,
boolean value) |
void |
unsetOwner()
Utility to unset the owner.
|
protected Object |
writeReplace()
The writeReplace method is called when ObjectOutputStream is preparing to write the object to the stream.
|
void |
xor(BitSet set) |
cardinality, equals, get, get, hashCode, intersects, isEmpty, length, nextClearBit, nextSetBit, previousClearBit, previousSetBit, size, stream, toByteArray, toLongArray, toString, valueOf, valueOf, valueOf, valueOf
protected transient ObjectProvider ownerOP
protected transient AbstractMemberMetaData ownerMmd
public BitSet(ObjectProvider op, AbstractMemberMetaData mmd)
op
- ObjectProvider for the owning objectmmd
- Metadata for the memberpublic void initialise()
initialise
in interface SCO
public void initialise(Object o, boolean forInsert, boolean forUpdate)
initialise
in interface SCO
o
- The ObjectforInsert
- Whether the object needs inserting in the datastore with this valueforUpdate
- Whether to update the object in the datastore with this valuepublic Object getValue()
public void unsetOwner()
unsetOwner
in interface SCO
public Object getOwner()
public String getFieldName()
getFieldName
in interface SCO
public void makeDirty()
public Object detachCopy(FetchPlanState state)
detachCopy
in interface SCO
state
- State for detachment processpublic void attachCopy(Object value)
attachCopy
in interface SCO
value
- The new valuepublic 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.
protected Object writeReplace() throws ObjectStreamException
ObjectStreamException
Copyright © 2021. All rights reserved.