Java Doc for FieldMetadata.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.FieldMetadata

All known Subclasses:   com.db4o.internal.VirtualFieldMetadata,  com.db4o.internal.NullFieldMetadata,  com.db4o.internal.TranslatedFieldMetadata,
FieldMetadata
public class FieldMetadata implements StoredField(Code)


Field Summary
final static  FieldMetadata[]EMPTY_ARRAY
    
 TypeHandler4_handler
    
protected  int_handlerID
    

Constructor Summary
public  FieldMetadata(ClassMetadata classMetadata)
    
 FieldMetadata(ClassMetadata containingClass, ObjectTranslator translator)
    
 FieldMetadata(ClassMetadata containingClass, ObjectMarshaller marshaller)
    
 FieldMetadata(ClassMetadata containingClass, ReflectField field, TypeHandler4 handler, int handlerID)
    
protected  FieldMetadata(int handlerID, TypeHandler4 handler)
    

Method Summary
public  voidaddFieldIndex(MarshallerFamily mf, ClassMetadata classMetadata, StatefulBuffer buffer, Slot oldSlot)
    
protected  voidaddIndexEntry(StatefulBuffer a_bytes, Object indexEntry)
    
public  voidaddIndexEntry(Transaction trans, int parentID, Object indexEntry)
    
public  booleanalive()
    
 booleancanAddToQuery(String fieldName)
    
public  booleancanHold(ReflectClass claxx)
    
final public  booleancanLoadByIndex()
    
public  booleancanUseNullBitmap()
    
 voidcascadeActivation(Transaction trans, Object onObject, int depth, boolean activate)
    
public  Objectcoerce(ReflectClass claxx, Object obj)
    
 voidcollectConstraints(Transaction a_trans, QConObject a_parent, Object a_template, Visitor4 a_visitor)
    
final public  TreeIntcollectIDs(MarshallerFamily mf, TreeInt tree, StatefulBuffer a_bytes)
    
 voidconfigure(ReflectClass clazz, boolean isPrimitive)
    
public  ObjectContainerBasecontainer()
    
final public  ClassMetadatacontainingClass()
    
public  voidcreateIndex()
    
 voiddeactivate(Transaction a_trans, Object a_onObject, int a_depth)
    
public  voiddefragField(MarshallerFamily mf, BufferPair readers)
    
public  voiddelete(MarshallerFamily mf, StatefulBuffer a_bytes, boolean isUpdate)
    
public  voiddropIndex(Transaction systemTrans)
    
public  booleanequals(Object obj)
    
final public  Objectget(Object onObject)
    
final public  Objectget(Transaction trans, Object onObject)
    
public  TypeHandler4getHandler()
    
public  BTreegetIndex(Transaction trans)
    
public  StringgetName()
    
public  ObjectgetOn(Transaction trans, Object onObject)
    
public  ObjectgetOrCreate(Transaction trans, Object onObject)
    
public  ReflectClassgetStoredType()
    
final public  ClassMetadatahandlerClassMetadata(ObjectContainerBase container)
    
public  inthandlerID()
    
public  booleanhasConfig()
    
public  booleanhasIndex()
    
public  inthashCode()
    
final public  voidincrementOffset(Buffer buffer)
    
protected  ObjectindexEntryFor(Object indexEntry)
    
protected  Indexable4indexHandler(ObjectContainerBase stream)
    
final public  voidinit(ClassMetadata containingClass, String name)
    
public  voidinit(int handlerID, boolean isPrimitive, boolean isArray, boolean isNArray)
    
final  voidinitConfigOnUp(Transaction trans)
    
final  voidinitIndex(ClassMetadata containingClass, String name)
    
public  voidinitIndex(Transaction systemTrans, int id)
    
public  voidinstantiate(UnmarshallingContext context)
    
public  booleanisArray()
    
public  booleanisPrimitive()
    
public  booleanisVirtual()
    
protected  intlinkLength()
    
public  voidloadHandler(ObjectContainerBase a_stream)
    
public  voidmarshall(MarshallingContext context, Object obj)
    
public  booleanneedsArrayAndPrimitiveInfo()
    
public  booleanneedsHandlerId()
    
final protected  BTreenewBTree(Transaction systemTrans, int id)
    
public  Comparable4prepareComparison(Object obj)
    
public  QFieldqField(Transaction a_trans)
    
public  Objectread(InternalReadContext context)
    
public  ObjectreadIndexEntry(MarshallerFamily mf, StatefulBuffer writer)
    
public  voidreadVirtualAttribute(Transaction trans, Buffer buffer, ObjectReference ref)
    
public  booleanrebuildIndexForClass(LocalObjectContainer stream, ClassMetadata yapClass)
    
protected  voidrebuildIndexForObject(LocalObjectContainer stream, ClassMetadata classMetadata, int objectId)
    
protected  voidrebuildIndexForWriter(LocalObjectContainer stream, StatefulBuffer writer, int objectId)
    
 voidrefresh()
    
public  voidremoveIndexEntry(Transaction trans, int parentID, Object indexEntry)
    
public  voidrename(String newName)
    
public  BTreeRangesearch(Transaction transaction, Object value)
    
public  voidset(Object onObject, Object obj)
    
public  voidsetArrayPosition(int a_index)
    
 voidsetName(String a_name)
    
 booleansupportsIndex()
    
public  StringtoString()
    
final protected  ClasstranslatorStoredClass(ObjectTranslator translator)
    
final public  voidtraverseValues(Visitor4 userVisitor)
    
final public  voidtraverseValues(Transaction transaction, Visitor4 userVisitor)
    

Field Detail
EMPTY_ARRAY
final static FieldMetadata[] EMPTY_ARRAY(Code)



_handler
TypeHandler4 _handler(Code)



_handlerID
protected int _handlerID(Code)




Constructor Detail
FieldMetadata
public FieldMetadata(ClassMetadata classMetadata)(Code)



FieldMetadata
FieldMetadata(ClassMetadata containingClass, ObjectTranslator translator)(Code)



FieldMetadata
FieldMetadata(ClassMetadata containingClass, ObjectMarshaller marshaller)(Code)



FieldMetadata
FieldMetadata(ClassMetadata containingClass, ReflectField field, TypeHandler4 handler, int handlerID)(Code)



FieldMetadata
protected FieldMetadata(int handlerID, TypeHandler4 handler)(Code)




Method Detail
addFieldIndex
public void addFieldIndex(MarshallerFamily mf, ClassMetadata classMetadata, StatefulBuffer buffer, Slot oldSlot) throws FieldIndexException(Code)

Parameters:
  classMetadata -
Parameters:
  oldSlot -



addIndexEntry
protected void addIndexEntry(StatefulBuffer a_bytes, Object indexEntry)(Code)



addIndexEntry
public void addIndexEntry(Transaction trans, int parentID, Object indexEntry)(Code)



alive
public boolean alive()(Code)



canAddToQuery
boolean canAddToQuery(String fieldName)(Code)



canHold
public boolean canHold(ReflectClass claxx)(Code)



canLoadByIndex
final public boolean canLoadByIndex()(Code)



canUseNullBitmap
public boolean canUseNullBitmap()(Code)



cascadeActivation
void cascadeActivation(Transaction trans, Object onObject, int depth, boolean activate)(Code)



coerce
public Object coerce(ReflectClass claxx, Object obj)(Code)



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



collectIDs
final public TreeInt collectIDs(MarshallerFamily mf, TreeInt tree, StatefulBuffer a_bytes) throws FieldIndexException(Code)



configure
void configure(ReflectClass clazz, boolean isPrimitive)(Code)



container
public ObjectContainerBase container()(Code)



containingClass
final public ClassMetadata containingClass()(Code)



createIndex
public void createIndex()(Code)



deactivate
void deactivate(Transaction a_trans, Object a_onObject, int a_depth)(Code)



defragField
public void defragField(MarshallerFamily mf, BufferPair readers)(Code)



delete
public void delete(MarshallerFamily mf, StatefulBuffer a_bytes, boolean isUpdate) throws FieldIndexException(Code)

Parameters:
  isUpdate -



dropIndex
public void dropIndex(Transaction systemTrans)(Code)



equals
public boolean equals(Object obj)(Code)



get
final public Object get(Object onObject)(Code)



get
final public Object get(Transaction trans, Object onObject)(Code)



getHandler
public TypeHandler4 getHandler()(Code)



getIndex
public BTree getIndex(Transaction trans)(Code)

Parameters:
  trans -



getName
public String getName()(Code)



getOn
public Object getOn(Transaction trans, Object onObject)(Code)

Parameters:
  trans -



getOrCreate
public Object getOrCreate(Transaction trans, Object onObject)(Code)
dirty hack for com.db4o.types some of them need to be set automatically TODO: Derive from YapField for Db4oTypes



getStoredType
public ReflectClass getStoredType()(Code)



handlerClassMetadata
final public ClassMetadata handlerClassMetadata(ObjectContainerBase container)(Code)



handlerID
public int handlerID()(Code)



hasConfig
public boolean hasConfig()(Code)



hasIndex
public boolean hasIndex()(Code)



hashCode
public int hashCode()(Code)



incrementOffset
final public void incrementOffset(Buffer buffer)(Code)



indexEntryFor
protected Object indexEntryFor(Object indexEntry)(Code)



indexHandler
protected Indexable4 indexHandler(ObjectContainerBase stream)(Code)



init
final public void init(ClassMetadata containingClass, String name)(Code)



init
public void init(int handlerID, boolean isPrimitive, boolean isArray, boolean isNArray)(Code)



initConfigOnUp
final void initConfigOnUp(Transaction trans)(Code)



initIndex
final void initIndex(ClassMetadata containingClass, String name)(Code)



initIndex
public void initIndex(Transaction systemTrans, int id)(Code)



instantiate
public void instantiate(UnmarshallingContext context)(Code)



isArray
public boolean isArray()(Code)



isPrimitive
public boolean isPrimitive()(Code)



isVirtual
public boolean isVirtual()(Code)



linkLength
protected int linkLength()(Code)



loadHandler
public void loadHandler(ObjectContainerBase a_stream)(Code)



marshall
public void marshall(MarshallingContext context, Object obj)(Code)



needsArrayAndPrimitiveInfo
public boolean needsArrayAndPrimitiveInfo()(Code)



needsHandlerId
public boolean needsHandlerId()(Code)



newBTree
final protected BTree newBTree(Transaction systemTrans, int id)(Code)



prepareComparison
public Comparable4 prepareComparison(Object obj)(Code)



qField
public QField qField(Transaction a_trans)(Code)



read
public Object read(InternalReadContext context)(Code)



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



readVirtualAttribute
public void readVirtualAttribute(Transaction trans, Buffer buffer, ObjectReference ref)(Code)

Parameters:
  trans -
Parameters:
  ref -



rebuildIndexForClass
public boolean rebuildIndexForClass(LocalObjectContainer stream, ClassMetadata yapClass)(Code)



rebuildIndexForObject
protected void rebuildIndexForObject(LocalObjectContainer stream, ClassMetadata classMetadata, int objectId) throws FieldIndexException(Code)

Parameters:
  classMetadata -



rebuildIndexForWriter
protected void rebuildIndexForWriter(LocalObjectContainer stream, StatefulBuffer writer, int objectId)(Code)



refresh
void refresh()(Code)



removeIndexEntry
public void removeIndexEntry(Transaction trans, int parentID, Object indexEntry)(Code)



rename
public void rename(String newName)(Code)



search
public BTreeRange search(Transaction transaction, Object value)(Code)



set
public void set(Object onObject, Object obj)(Code)



setArrayPosition
public void setArrayPosition(int a_index)(Code)



setName
void setName(String a_name)(Code)



supportsIndex
boolean supportsIndex()(Code)



toString
public String toString()(Code)



translatorStoredClass
final protected Class translatorStoredClass(ObjectTranslator translator)(Code)



traverseValues
final public void traverseValues(Visitor4 userVisitor)(Code)



traverseValues
final public void traverseValues(Transaction transaction, Visitor4 userVisitor)(Code)



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.