ClassMetadata Class

graph BT Type-->Base0["PersistentBase"] click Base0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal/PersistentBase" Base0-->Base1["Identifiable"] click Base1 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal/Identifiable" Base1-->Base2["Object"] Type-.->Interface0["IPersistent"] click Interface0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal/IPersistent" Type-.->Interface1["ILinkLengthAware"] click Interface1 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal/ILinkLengthAware" Type-.->Interface2["IStoredClass"] click Interface2 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Ext/IStoredClass" Type["ClassMetadata"] class Type type-node Derived0["PrimitiveTypeMetadata"]-->Type click Derived0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal/PrimitiveTypeMetadata"

Syntax

public class ClassMetadata : PersistentBase, IPersistent, ILinkLengthAware, IStoredClass

Constructors

Fields

Name Constant Value Summary
_ancestor
_aspects
_id
Inherited from Identifiable
_state
Inherited from Identifiable
_typeHandler
For reference types, _typeHandler always holds a StandardReferenceTypeHandler that will use the _aspects of this class to take care of its business.

Methods

Name Value Summary
AddFieldIndices(StatefulBuffer) void
AdjustCollectionDepthToBorders(FixedActivationDepth) FixedActivationDepth
AdjustUpdateDepth(Transaction, IUpdateDepth) IUpdateDepth
AspectCount() int
AspectsAreInitialized() bool
AspectsAreNull() bool
BeginProcessing() bool
Inherited from Identifiable
CallConstructor() bool
CascadeActivation(IActivationContext) void
CascadeOnDelete() bool
CascadeOnDeleteTernary() TernaryBool
CascadesOnDeleteOrUpdate() bool
CheckType() void
ClassReflector() IReflectClass
CollectConstraints(Transaction, QConObject, Object, IVisitor4) void
CollectIDs(CollectIdContext, string) void
CollectIDs(CollectIdContext) void
CollectIDs(QueryingReadContext) void
Config() Config4Class
ConfigOrAncestorConfig() Config4Class
Container() ObjectContainerBase
CorrectHandlerVersion(IHandlerVersionContext) ITypeHandler4
Deactivate(Transaction, IObjectInfo, IActivationDepth) void
DeclaredAspectCount() int
DefragClass(DefragmentContextImpl, int) void
Defragment(IDefragmentContext) void
DefragObject(DefragmentContextImpl) void
static
DelegateTypeHandler(IContext) ITypeHandler4
Delete(IDeleteContext) void
DescendOnCascadingActivation() bool
DetectAspectTraversalStrategy() IAspectTraversalStrategy
DispatchEvent(Transaction, Object, int) bool
DropClassIndex() void
EndProcessing() void
Inherited from Identifiable
FieldByName(StaticField[], string) StaticField
FieldMetadataForName(string) FieldMetadata
ForceDeactivation(Transaction, IActivationDepth, Object) void
Free(LocalTransaction) void
Inherited from PersistentBase
GenerateCommitTimestamps() bool
GenerateUUIDs() bool
GetAncestor() ClassMetadata
GetComparableObject(Object) Object
GetHashCode() int
Inherited from Identifiable
GetHigherHierarchy(ClassMetadata) ClassMetadata
GetHigherOrCommonHierarchy(ClassMetadata) ClassMetadata
GetID() int
Inherited from Identifiable
GetIdentifier() byte
GetIDs() long[]
GetIDs(Transaction) long[]
GetName() string
GetParentStoredClass() IStoredClass
GetStoredFields() IStoredField[]
HasClassIndex() bool
HasEventRegistered(Transaction, int) bool
HasField(ObjectContainerBase, string) bool
HasIdentity() bool
HasObjectConstructor() bool
HasVersionField() bool
HoldsAnyClass() bool
IdSystem(Transaction) ITransactionalIdSystem
Inherited from PersistentBase
Index() IClassIndexStrategy
IndexEntryCount(Transaction) int
InstanceCount() int
InstanceCount(Transaction) int
Instantiate(UnmarshallingContext) Object
InstantiateTransient(UnmarshallingContext) Object
IsActive() bool
Inherited from Identifiable
IsArray() bool
IsAssignableFrom(ClassMetadata) bool
IsDb4oTypeImpl() bool
IsDirty() bool
IsInternal() bool
IsModified(Object) bool
IsNew() bool
Inherited from Identifiable
IsStorable() bool
IsStronglyTyped() bool
no any, primitive, array or other tricks.
IsStruct() bool
IsTranslated() bool
IsValueType() bool
LinkLength() int
Inherited from PersistentBase
NameToWrite() string
NewWriteBuffer(int) ByteArrayBuffer
Inherited from PersistentBase
OnInstantiate(UnmarshallingContext, Object) void
OwnLength() int
PrepareComparison(IContext, Object) IPreparedComparison
ProduceReadBuffer(Transaction) ByteArrayBuffer
Inherited from PersistentBase
ProduceWriteBuffer(Transaction, int) ByteArrayBuffer
Inherited from PersistentBase
Read(Transaction, ByteArrayBuffer) void
Inherited from PersistentBase
Read(Transaction) void
Inherited from PersistentBase
ReadAspectCount(IReadBuffer) int
ReadBufferById(Transaction) ByteArrayBuffer
Inherited from PersistentBase
ReadCandidateHandler(QueryingReadContext) ITypeHandler4
ReadClass(ObjectContainerBase, ByteArrayBuffer) ClassMetadata
static
ReadName1(Transaction, ByteArrayBuffer) byte[]
ReadThis(Transaction, ByteArrayBuffer) void
ReadVirtualAttributes(Transaction, ObjectReference, bool) void
Reflector() GenericReflector
Refresh() void
Rename(string) void
SeekCandidateHandler(QueryingReadContext) ITypeHandler4
SeekToField(ObjectHeaderContext, ClassAspect) bool
SeekToField(Transaction, ByteArrayBuffer, FieldMetadata) HandlerVersion
SetAncestor(ClassMetadata) void
SetID(int) void
Inherited from Identifiable
SetStateClean() void
Inherited from Identifiable
SetStateDeactivated() void
Inherited from Identifiable
SetStateDirty() void
Inherited from Identifiable
SlotChangeFactory() SlotChangeFactory
Inherited from PersistentBase
StoredField(string, Object) IStoredField
ToStaticField(IReflectField) StaticField
ToString() string
TraverseAllAspects(ITraverseAspectCommand) void
TraverseDeclaredAspects(IProcedure4) void
TraverseDeclaredFields(IProcedure4) void
TypeHandler() ITypeHandler4
UpdateDepthFromConfig() int
UpdateExistingStaticField(Transaction, StaticField, IReflectField) void
WrapWithTransactionContext(Transaction, Object) Object
Write(Transaction) void
Inherited from PersistentBase
WriteObjectBegin() bool
WriteOwnID(Transaction, ByteArrayBuffer) void
Inherited from PersistentBase
WriteThis(Transaction, ByteArrayBuffer) void