ObjectReference Class

Summary

A weak reference to an known object.
Assembly
Db4objects.Db4o-2010.dll
Namespace
Db4objects.Db4o.Internal
Interfaces
Base Types
graph BT Type-->Base0["Identifiable"] click Base0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal/Identifiable" Base0-->Base1["Object"] Type-.->Interface0["IObjectInfo"] click Interface0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Ext/IObjectInfo" Type-.->Interface1["IActivator"] click Interface1 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Activation/IActivator" Type["ObjectReference"] class Type type-node

Syntax

public class ObjectReference : Identifiable, IObjectInfo, IActivator

Remarks

A weak reference to an known object. "Known" ~ has been stored and/or retrieved within a transaction. References the corresponding ClassMetaData along with further metadata: internal id, UUID/version information, ...

Constructors

Fields

Name Constant Value Summary
_hcHashcode
_id
Inherited from Identifiable
_state
Inherited from Identifiable

Methods

Name Value Summary
Activate(ActivationPurpose) void
Activate(Transaction, Object, IActivationDepth) void
ActivateOn(Transaction, ActivationPurpose) void
BeginProcessing() bool
Inherited from Identifiable
ClassMetadata() ClassMetadata
ClassMetadata(ClassMetadata) void
Container() ObjectContainerBase
Deactivate(Transaction, IActivationDepth) void
EndProcessing() void
Inherited from Identifiable
FlagAsHandled(int) void
FlagForDelete(int) void
GetCommitTimestamp() long
GetHashCode() int
Inherited from Identifiable
GetID() int
Inherited from Identifiable
GetIdentifier() byte
GetInternalID() long
GetObject() Object
GetObjectReference() Object
GetUUID() Db4oUUID
GetVersion() long
Hc_add(ObjectReference) ObjectReference
HCTREE
Hc_find(Object) ObjectReference
Hc_getCode(Object) int
static
Hc_remove(ObjectReference) ObjectReference
Hc_traverse(IVisitor4) void
Id_add(ObjectReference) ObjectReference
IDTREE
Id_find(int) ObjectReference
Id_remove(ObjectReference) ObjectReference
IsActive() bool
Inherited from Identifiable
IsDirty() bool
Inherited from Identifiable
IsFlaggedAsHandled(int) bool
IsFlaggedForDelete() bool
IsNew() bool
Inherited from Identifiable
IsValid() bool
IsValidId(int) bool
static
ObjectCanUpdate(Transaction, Object) bool
OwnLength() int
ProduceVirtualAttributes() VirtualAttributes
Read(Transaction, ByteArrayBuffer, Object, IActivationDepth, int, bool) Object
ReadPrefetch(Transaction, ByteArrayBuffer, int) Object
ReadThis(Transaction, ByteArrayBuffer) void
Ref_init() void
SetID(int) void
Inherited from Identifiable
SetObject(Object) void
SetObjectWeak(ObjectContainerBase, Object) void
SetStateClean() void
Inherited from Identifiable
SetStateDeactivated() void
Inherited from Identifiable
SetStateDirty() void
Inherited from Identifiable
SetVirtualAttributes(VirtualAttributes) void
ToString() string
Transaction() Transaction
VirtualAttributes() VirtualAttributes
VirtualAttributes(Transaction, bool) VirtualAttributes
VirtualAttributes(Transaction) VirtualAttributes
WriteThis(Transaction, ByteArrayBuffer) void
WriteUpdate(Transaction, IUpdateDepth) void