Java Doc for ClassMetadata.java in  » Database-DBMS » db4o-6.4 » com » db4o » internal » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database DBMS » db4o 6.4 » com.db4o.internal 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.db4o.internal.PersistentBase
      com.db4o.internal.ClassMetadata

All known Subclasses:   com.db4o.internal.UntypedFieldHandler,  com.db4o.internal.PrimitiveFieldHandler,
ClassMetadata
public class ClassMetadata extends PersistentBase implements IndexableTypeHandler,FirstClassHandler,StoredClass(Code)


Field Summary
public  int_metaClassID
    
public  ClassMetadatai_ancestor
    
public  FieldMetadata[]i_fields
    
protected  Stringi_name
    
 byte[]i_nameBytes
    

Constructor Summary
 ClassMetadata(ObjectContainerBase container, ReflectClass reflector)
    

Method Summary
 voidactivateFields(Transaction trans, Object obj, int depth)
    
final public  voidaddFieldIndices(StatefulBuffer a_writer, Slot oldSlot)
    
 voidaddMembers(ObjectContainerBase container)
    
 voidaddToIndex(LocalObjectContainer a_stream, Transaction a_trans, int a_id)
    
 voidaddToIndex1(LocalObjectContainer a_stream, Transaction a_trans, int a_id)
    
final public  intadjustUpdateDepth(Transaction trans, int depth)
    
 booleanallowsQueries()
    
final public  booleancallConstructor()
    
final public  booleancanUpdateFast()
    
public  voidcascadeActivation(Transaction a_trans, Object a_object, int a_depth, boolean a_activate)
    
 voidcheckChanges()
    
public  voidcheckType()
    
public  ReflectClassclassReflector()
    
public  voidcollectConstraints(Transaction a_trans, QConObject a_parent, Object a_object, Visitor4 a_visitor)
    
final public  TreeIntcollectFieldIDs(MarshallerFamily mf, ObjectHeaderAttributes attributes, TreeInt tree, StatefulBuffer a_bytes, String name)
    
public  intcompareTo(Object obj)
    
public  Config4Classconfig()
    
public  Config4ClassconfigOrAncestorConfig()
    
final  ObjectContainerBasecontainer()
    
final  voidcreateConfigAndConstructor(Hashtable4 a_byteHashTable, ReflectClass claxx, String name)
    
public  booleancreateConstructor(ObjectContainerBase a_stream, ReflectClass a_class, String a_name, boolean errMessages)
    
public  booleancustomizedNewInstance()
    
public  voiddeactivate(Transaction trans, Object obj, int depth)
    
 voiddeactivate1(Transaction a_trans, Object a_object, int a_depth)
    
public  voiddefrag(MarshallerFamily mf, BufferPair readers, boolean redirect)
    
public  voiddefragClass(BufferPair readers, int classIndexID)
    
final public  voiddefragIndexEntry(BufferPair readers)
    
public static  voiddefragObject(BufferPair readers)
    
final  voiddelete(StatefulBuffer a_bytes, Object a_object)
    
public  voiddeleteEmbedded(MarshallerFamily mf, StatefulBuffer a_bytes)
    
public  voiddeleteEmbedded1(MarshallerFamily mf, StatefulBuffer a_bytes, int a_id)
    
 voiddeleteMembers(MarshallerFamily mf, ObjectHeaderAttributes attributes, StatefulBuffer a_bytes, int a_type, boolean isUpdate)
    
final public  booleandispatchEvent(ObjectContainerBase stream, Object obj, int message)
    
protected  StaticFieldfieldByName(StaticField[] fields, String fieldName)
    
final public  intfieldCount()
    
public  FieldMetadatafieldMetadataForName(String name)
    
public  Iterator4fields()
    
final public  HandlerVersionfindOffset(Buffer buffer, FieldMetadata field)
    
 voidforEachFieldMetadata(Visitor4 visitor)
    
public static  ClassMetadataforObject(Transaction trans, Object obj, boolean allowCreation)
    
final  voidforceRead()
    
public  booleangenerateUUIDs()
    
 ClassMetadatagetAncestor()
    
public  ObjectgetComparableObject(Object forObject)
    
public  ClassMetadatagetHigherHierarchy(ClassMetadata a_yapClass)
    
public  ClassMetadatagetHigherOrCommonHierarchy(ClassMetadata a_yapClass)
    
public  long[]getIDs()
    
public  long[]getIDs(Transaction trans)
    
public  bytegetIdentifier()
    
public  StringgetName()
    
public  StoredClassgetParentStoredClass()
    
public  StoredField[]getStoredFields()
    
public  booleanhasClassIndex()
    
public  booleanhasEventRegistered(ObjectContainerBase stream, int eventID)
    
public  booleanhasField(ObjectContainerBase container, String fieldName)
    
 booleanhasVirtualAttributes()
    
public  booleanholdsAnyClass()
    
 voidincrementFieldsOffset1(Buffer a_bytes)
    
public  ClassIndexStrategyindex()
    
public  intindexEntryCount(Transaction ta)
    
public  ObjectindexEntryToObject(Transaction trans, Object indexEntry)
    
final  booleaninit(ObjectContainerBase a_stream, ClassMetadata a_ancestor, ReflectClass claxx)
    
final  voidinitConfigOnUp(Transaction systemTrans)
    
 voidinitOnUp(Transaction systemTrans)
    
public  Objectinstantiate(UnmarshallingContext context)
    
 voidinstantiateFields(UnmarshallingContext context)
    
 ObjectinstantiateFromReflector(ObjectContainerBase stream)
    
public  ObjectinstantiateTransient(UnmarshallingContext context)
    
public  booleanisArray()
    
public  booleanisAssignableFrom(ClassMetadata other)
    
 booleanisCollection(Object obj)
    
public  booleanisDirty()
    
 booleanisEnum()
    
 booleanisInternal()
    
public  booleanisPrimitive()
    
public  booleanisStrongTyped()
     no any, primitive, array or other tricks.
public  booleanisValueType()
    
public  StringnameToWrite()
    
public  intownLength()
    
public  Comparable4prepareComparison(Object obj)
    
 voidpurge()
    
public  Objectread(ReadContext context)
    
public  TypeHandler4readArrayHandler(Transaction a_trans, MarshallerFamily mf, Buffer[] a_bytes)
    
public  TypeHandler4readArrayHandler1(Buffer[] a_bytes)
    
public  voidreadCandidates(int handlerVersion, Buffer buffer, QCandidates candidates)
    
public static  ClassMetadatareadClass(ObjectContainerBase stream, Buffer reader)
    
final public  intreadFieldCount(Buffer buffer)
    
public  ObjectreadIndexEntry(Buffer a_reader)
    
public  ObjectreadIndexEntry(MarshallerFamily mf, StatefulBuffer a_writer)
    
 byte[]readName(Transaction a_trans)
    
final public  byte[]readName1(Transaction trans, Buffer reader)
    
public  ObjectIDreadObjectID(InternalReadContext context)
    
 booleanreadThis()
    
public  voidreadThis(Transaction a_trans, Buffer a_reader)
    
public  ObjectreadValueType(Transaction trans, int id, int depth)
    
 voidreadVirtualAttributes(Transaction a_trans, ObjectReference a_yapObject)
    
 GenericReflectorreflector()
    
public  voidrefresh()
    
 voidremoveFromIndex(Transaction ta, int id)
    
public  voidrename(String newName)
    
 booleanrenameField(String a_from, String a_to)
    
 StringresolveName(ReflectClass claxx)
    
public  voidsetAncestor(ClassMetadata ancestor)
    
 voidsetConfig(Config4Class config)
    
 voidsetName(String a_name)
    
final  voidsetStateDead()
    
 booleanstateDead()
    
final  booleanstateOKAndAncestors()
    
 booleanstateUnread()
    
 booleanstoreField(ReflectField a_field)
    
 voidstoreStaticFieldValues(Transaction trans, boolean force)
    
public  StoredFieldstoredField(String name, Object clazz)
    
final public  ObjectContainerBasestream()
    
protected  StaticFieldtoStaticField(ReflectField reflectField)
    
public  StringtoString()
    
public  TypeHandler4typeHandler()
    
protected  voidupdateExistingStaticField(Transaction trans, StaticField existingField, ReflectField reflectField)
    
public  ObjectwrapWithTransactionContext(Transaction transaction, Object value)
    
public  voidwrite(WriteContext context, Object obj)
    
public  voidwriteIndexEntry(Buffer a_writer, Object a_object)
    
public  booleanwriteObjectBegin()
    
final public  voidwriteThis(Transaction trans, Buffer writer)
    

Field Detail
_metaClassID
public int _metaClassID(Code)



i_ancestor
public ClassMetadata i_ancestor(Code)



i_fields
public FieldMetadata[] i_fields(Code)



i_name
protected String i_name(Code)



i_nameBytes
byte[] i_nameBytes(Code)




Constructor Detail
ClassMetadata
ClassMetadata(ObjectContainerBase container, ReflectClass reflector)(Code)




Method Detail
activateFields
void activateFields(Transaction trans, Object obj, int depth)(Code)



addFieldIndices
final public void addFieldIndices(StatefulBuffer a_writer, Slot oldSlot)(Code)



addMembers
void addMembers(ObjectContainerBase container)(Code)



addToIndex
void addToIndex(LocalObjectContainer a_stream, Transaction a_trans, int a_id)(Code)



addToIndex1
void addToIndex1(LocalObjectContainer a_stream, Transaction a_trans, int a_id)(Code)



adjustUpdateDepth
final public int adjustUpdateDepth(Transaction trans, int depth)(Code)



allowsQueries
boolean allowsQueries()(Code)



callConstructor
final public boolean callConstructor()(Code)



canUpdateFast
final public boolean canUpdateFast()(Code)



cascadeActivation
public void cascadeActivation(Transaction a_trans, Object a_object, int a_depth, boolean a_activate)(Code)



checkChanges
void checkChanges()(Code)



checkType
public void checkType()(Code)



classReflector
public ReflectClass classReflector()(Code)



collectConstraints
public void collectConstraints(Transaction a_trans, QConObject a_parent, Object a_object, Visitor4 a_visitor)(Code)



collectFieldIDs
final public TreeInt collectFieldIDs(MarshallerFamily mf, ObjectHeaderAttributes attributes, TreeInt tree, StatefulBuffer a_bytes, String name)(Code)



compareTo
public int compareTo(Object obj)(Code)



config
public Config4Class config()(Code)



configOrAncestorConfig
public Config4Class configOrAncestorConfig()(Code)



container
final ObjectContainerBase container()(Code)



createConfigAndConstructor
final void createConfigAndConstructor(Hashtable4 a_byteHashTable, ReflectClass claxx, String name)(Code)



createConstructor
public boolean createConstructor(ObjectContainerBase a_stream, ReflectClass a_class, String a_name, boolean errMessages)(Code)



customizedNewInstance
public boolean customizedNewInstance()(Code)



deactivate
public void deactivate(Transaction trans, Object obj, int depth)(Code)



deactivate1
void deactivate1(Transaction a_trans, Object a_object, int a_depth)(Code)



defrag
public void defrag(MarshallerFamily mf, BufferPair readers, boolean redirect)(Code)



defragClass
public void defragClass(BufferPair readers, int classIndexID) throws CorruptionException, IOException(Code)



defragIndexEntry
final public void defragIndexEntry(BufferPair readers)(Code)



defragObject
public static void defragObject(BufferPair readers)(Code)



delete
final void delete(StatefulBuffer a_bytes, Object a_object)(Code)



deleteEmbedded
public void deleteEmbedded(MarshallerFamily mf, StatefulBuffer a_bytes) throws Db4oIOException(Code)



deleteEmbedded1
public void deleteEmbedded1(MarshallerFamily mf, StatefulBuffer a_bytes, int a_id) throws Db4oIOException(Code)

Parameters:
  mf -



deleteMembers
void deleteMembers(MarshallerFamily mf, ObjectHeaderAttributes attributes, StatefulBuffer a_bytes, int a_type, boolean isUpdate)(Code)



dispatchEvent
final public boolean dispatchEvent(ObjectContainerBase stream, Object obj, int message)(Code)



fieldByName
protected StaticField fieldByName(StaticField[] fields, String fieldName)(Code)



fieldCount
final public int fieldCount()(Code)



fieldMetadataForName
public FieldMetadata fieldMetadataForName(String name)(Code)



fields
public Iterator4 fields()(Code)



findOffset
final public HandlerVersion findOffset(Buffer buffer, FieldMetadata field)(Code)



forEachFieldMetadata
void forEachFieldMetadata(Visitor4 visitor)(Code)



forObject
public static ClassMetadata forObject(Transaction trans, Object obj, boolean allowCreation)(Code)



forceRead
final void forceRead()(Code)



generateUUIDs
public boolean generateUUIDs()(Code)



getAncestor
ClassMetadata getAncestor()(Code)



getComparableObject
public Object getComparableObject(Object forObject)(Code)



getHigherHierarchy
public ClassMetadata getHigherHierarchy(ClassMetadata a_yapClass)(Code)



getHigherOrCommonHierarchy
public ClassMetadata getHigherOrCommonHierarchy(ClassMetadata a_yapClass)(Code)



getIDs
public long[] getIDs()(Code)



getIDs
public long[] getIDs(Transaction trans)(Code)



getIdentifier
public byte getIdentifier()(Code)



getName
public String getName()(Code)



getParentStoredClass
public StoredClass getParentStoredClass()(Code)



getStoredFields
public StoredField[] getStoredFields()(Code)



hasClassIndex
public boolean hasClassIndex()(Code)



hasEventRegistered
public boolean hasEventRegistered(ObjectContainerBase stream, int eventID)(Code)



hasField
public boolean hasField(ObjectContainerBase container, String fieldName)(Code)

Parameters:
  container -



hasVirtualAttributes
boolean hasVirtualAttributes()(Code)



holdsAnyClass
public boolean holdsAnyClass()(Code)



incrementFieldsOffset1
void incrementFieldsOffset1(Buffer a_bytes)(Code)



index
public ClassIndexStrategy index()(Code)



indexEntryCount
public int indexEntryCount(Transaction ta)(Code)



indexEntryToObject
public Object indexEntryToObject(Transaction trans, Object indexEntry)(Code)



init
final boolean init(ObjectContainerBase a_stream, ClassMetadata a_ancestor, ReflectClass claxx)(Code)



initConfigOnUp
final void initConfigOnUp(Transaction systemTrans)(Code)



initOnUp
void initOnUp(Transaction systemTrans)(Code)



instantiate
public Object instantiate(UnmarshallingContext context)(Code)



instantiateFields
void instantiateFields(UnmarshallingContext context)(Code)



instantiateFromReflector
Object instantiateFromReflector(ObjectContainerBase stream)(Code)



instantiateTransient
public Object instantiateTransient(UnmarshallingContext context)(Code)



isArray
public boolean isArray()(Code)



isAssignableFrom
public boolean isAssignableFrom(ClassMetadata other)(Code)



isCollection
boolean isCollection(Object obj)(Code)



isDirty
public boolean isDirty()(Code)



isEnum
boolean isEnum()(Code)



isInternal
boolean isInternal()(Code)



isPrimitive
public boolean isPrimitive()(Code)



isStrongTyped
public boolean isStrongTyped()(Code)
no any, primitive, array or other tricks. overriden in YapClassAny and YapClassPrimitive



isValueType
public boolean isValueType()(Code)



nameToWrite
public String nameToWrite()(Code)



ownLength
public int ownLength()(Code)



prepareComparison
public Comparable4 prepareComparison(Object obj)(Code)



purge
void purge()(Code)



read
public Object read(ReadContext context)(Code)



readArrayHandler
public TypeHandler4 readArrayHandler(Transaction a_trans, MarshallerFamily mf, Buffer[] a_bytes)(Code)



readArrayHandler1
public TypeHandler4 readArrayHandler1(Buffer[] a_bytes)(Code)



readCandidates
public void readCandidates(int handlerVersion, Buffer buffer, QCandidates candidates)(Code)



readClass
public static ClassMetadata readClass(ObjectContainerBase stream, Buffer reader)(Code)



readFieldCount
final public int readFieldCount(Buffer buffer)(Code)



readIndexEntry
public Object readIndexEntry(Buffer a_reader)(Code)



readIndexEntry
public Object readIndexEntry(MarshallerFamily mf, StatefulBuffer a_writer) throws CorruptionException(Code)



readName
byte[] readName(Transaction a_trans)(Code)



readName1
final public byte[] readName1(Transaction trans, Buffer reader)(Code)



readObjectID
public ObjectID readObjectID(InternalReadContext context)(Code)



readThis
boolean readThis()(Code)



readThis
public void readThis(Transaction a_trans, Buffer a_reader)(Code)



readValueType
public Object readValueType(Transaction trans, int id, int depth)(Code)



readVirtualAttributes
void readVirtualAttributes(Transaction a_trans, ObjectReference a_yapObject)(Code)



reflector
GenericReflector reflector()(Code)



refresh
public void refresh()(Code)



removeFromIndex
void removeFromIndex(Transaction ta, int id)(Code)



rename
public void rename(String newName)(Code)



renameField
boolean renameField(String a_from, String a_to)(Code)



resolveName
String resolveName(ReflectClass claxx)(Code)



setAncestor
public void setAncestor(ClassMetadata ancestor)(Code)



setConfig
void setConfig(Config4Class config)(Code)



setName
void setName(String a_name)(Code)



setStateDead
final void setStateDead()(Code)



stateDead
boolean stateDead()(Code)



stateOKAndAncestors
final boolean stateOKAndAncestors()(Code)



stateUnread
boolean stateUnread()(Code)



storeField
boolean storeField(ReflectField a_field)(Code)



storeStaticFieldValues
void storeStaticFieldValues(Transaction trans, boolean force)(Code)



storedField
public StoredField storedField(String name, Object clazz)(Code)



stream
final public ObjectContainerBase stream()(Code)



toStaticField
protected StaticField toStaticField(ReflectField reflectField)(Code)



toString
public String toString()(Code)



typeHandler
public TypeHandler4 typeHandler()(Code)



updateExistingStaticField
protected void updateExistingStaticField(Transaction trans, StaticField existingField, ReflectField reflectField)(Code)



wrapWithTransactionContext
public Object wrapWithTransactionContext(Transaction transaction, Object value)(Code)



write
public void write(WriteContext context, Object obj)(Code)



writeIndexEntry
public void writeIndexEntry(Buffer a_writer, Object a_object)(Code)



writeObjectBegin
public boolean writeObjectBegin()(Code)



writeThis
final public void writeThis(Transaction trans, Buffer writer)(Code)



Fields inherited from com.db4o.internal.PersistentBase
protected int _id(Code)(Java Doc)
protected int _state(Code)(Java Doc)

Methods inherited from com.db4o.internal.PersistentBase
final public boolean beginProcessing()(Code)(Java Doc)
final void bitFalse(int bitPos)(Code)(Java Doc)
final boolean bitIsFalse(int bitPos)(Code)(Java Doc)
final boolean bitIsTrue(int bitPos)(Code)(Java Doc)
final void bitTrue(int bitPos)(Code)(Java Doc)
void cacheDirty(Collection4 col)(Code)(Java Doc)
public void endProcessing()(Code)(Java Doc)
public void free(Transaction trans)(Code)(Java Doc)
public int getID()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final public boolean isActive()(Code)(Java Doc)
public boolean isDirty()(Code)(Java Doc)
public boolean isFreespaceComponent()(Code)(Java Doc)
final public boolean isNew()(Code)(Java Doc)
public int linkLength()(Code)(Java Doc)
final void notCachedDirty()(Code)(Java Doc)
public void read(Transaction trans)(Code)(Java Doc)
public void setID(int a_id)(Code)(Java Doc)
final public void setStateClean()(Code)(Java Doc)
final public void setStateDeactivated()(Code)(Java Doc)
public void setStateDirty()(Code)(Java Doc)
void setStateOnRead(Buffer reader)(Code)(Java Doc)
final public void write(Transaction trans)(Code)(Java Doc)
public boolean writeObjectBegin()(Code)(Java Doc)
public void writeOwnID(Transaction trans, Buffer writer)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.