Package com.db4o.internal
Class ClassMetadataRepository
- java.lang.Object
-
- com.db4o.internal.Identifiable
-
- com.db4o.internal.PersistentBase
-
- com.db4o.internal.ClassMetadataRepository
-
- All Implemented Interfaces:
LinkLengthAware
,Persistent
public final class ClassMetadataRepository extends PersistentBase
-
-
Field Summary
-
Fields inherited from class com.db4o.internal.Identifiable
_id, _state
-
-
Constructor Summary
Constructors Constructor Description ClassMetadataRepository(Transaction systemTransaction)
-
Method Summary
-
Methods inherited from class com.db4o.internal.PersistentBase
free, idSystem, linkLength, newWriteBuffer, produceReadBuffer, produceWriteBuffer, read, read, readBufferById, slotChangeFactory, write, writeObjectBegin, writeOwnID
-
Methods inherited from class com.db4o.internal.Identifiable
beginProcessing, endProcessing, getID, hashCode, isActive, isDirty, isNew, setStateClean, setStateDeactivated, setStateDirty
-
-
-
-
Constructor Detail
-
ClassMetadataRepository
public ClassMetadataRepository(Transaction systemTransaction)
-
-
Method Detail
-
addClassMetadata
public void addClassMetadata(ClassMetadata clazz)
-
attachQueryNode
public void attachQueryNode(java.lang.String fieldName, Visitor4 visitor)
-
iterateTopLevelClasses
public void iterateTopLevelClasses(Visitor4 visitor)
-
forInterface
public Collection4 forInterface(ReflectClass claxx)
-
getIdentifier
public byte getIdentifier()
-
classMetadataIdForName
public int classMetadataIdForName(java.lang.String name)
-
getClassMetadata
public ClassMetadata getClassMetadata(java.lang.String name)
-
getClassMetadataID
public int getClassMetadataID(java.lang.String name)
-
initOnUp
public void initOnUp(Transaction systemTrans)
-
iterator
public ClassMetadataIterator iterator()
-
ids
public Iterator4 ids()
-
ownLength
public int ownLength()
-
readThis
public final void readThis(Transaction trans, ByteArrayBuffer buffer)
-
readClassMetadata
public ClassMetadata readClassMetadata(ClassMetadata classMetadata, ReflectClass clazz)
-
checkAllClassChanges
public void checkAllClassChanges()
-
refreshClasses
public void refreshClasses()
-
refreshClassCache
public void refreshClassCache(ClassMetadata clazz, ReflectClass oldReflector)
-
storedClasses
public StoredClass[] storedClasses()
-
writeAllClasses
public void writeAllClasses()
-
writeThis
public void writeThis(Transaction trans, ByteArrayBuffer buffer)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setID
public void setID(int id)
- Overrides:
setID
in classIdentifiable
-
classMetadataNameResolved
public void classMetadataNameResolved(ClassMetadata classMetadata, byte[] nameBytes)
-
-