Java Doc for JdbcStateGenerator.java in  » Testing » PolePosition-0.20 » com » versant » core » jdbc » 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 » Testing » PolePosition 0.20 » com.versant.core.jdbc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.versant.core.metadata.generator.StateSrcGenerator
      com.versant.core.jdbc.JdbcStateGenerator

JdbcStateGenerator
public class JdbcStateGenerator extends StateSrcGenerator (Code)
Adds JDBC specific stuff to the standard generated State class.



Constructor Summary
public  JdbcStateGenerator()
    

Method Summary
protected  voidaddCheckKeyFields()
    
protected  voidaddClearApplicationIdentityFields()
    
protected  voidaddCompareToPass1()
    
protected  voidaddContainsApplicationIdentityFields()
    
protected  voidaddContainsValidAppIdFields()
    
protected  voidaddCopyFields()
    
protected  voidaddCopyKeyFieldsFromOID()
    
protected  voidaddCopyKeyFieldsUpdate()
    
protected  voidaddFields()
    
protected  voidaddHasSameNullFields()
    
protected  voidaddInitStaticsBody(StringBuffer buf)
    
protected  voidaddSetParams()
    
protected  voidaddSetParamsChangedAndNotNull()
    
public  ClassSpecgenerateState(ClassMetaData cmd)
    
protected  ListgetPass1FieldsMetaDataWithChangedLocking()
    
protected  voidgetSetFieldsToSQL_IL(int fieldNo, StringBuffer buf)
    
protected  voidgetSetFieldsToSQL_IL_CheckNull(int fieldNo, StringBuffer buf)
    


Constructor Detail
JdbcStateGenerator
public JdbcStateGenerator()(Code)




Method Detail
addCheckKeyFields
protected void addCheckKeyFields()(Code)



addClearApplicationIdentityFields
protected void addClearApplicationIdentityFields()(Code)



addCompareToPass1
protected void addCompareToPass1()(Code)



addContainsApplicationIdentityFields
protected void addContainsApplicationIdentityFields()(Code)



addContainsValidAppIdFields
protected void addContainsValidAppIdFields()(Code)



addCopyFields
protected void addCopyFields()(Code)



addCopyKeyFieldsFromOID
protected void addCopyKeyFieldsFromOID()(Code)



addCopyKeyFieldsUpdate
protected void addCopyKeyFieldsUpdate()(Code)



addFields
protected void addFields()(Code)
Add all PC fields in the hier to state and private boolean isDirty; private boolean[] dirtyFields = new boolean[20]; private boolean[] filled = new boolean[20];



addHasSameNullFields
protected void addHasSameNullFields()(Code)



addInitStaticsBody
protected void addInitStaticsBody(StringBuffer buf)(Code)



addSetParams
protected void addSetParams()(Code)



addSetParamsChangedAndNotNull
protected void addSetParamsChangedAndNotNull()(Code)



generateState
public ClassSpec generateState(ClassMetaData cmd)(Code)



getPass1FieldsMetaDataWithChangedLocking
protected List getPass1FieldsMetaDataWithChangedLocking()(Code)



getSetFieldsToSQL_IL
protected void getSetFieldsToSQL_IL(int fieldNo, StringBuffer buf)(Code)



getSetFieldsToSQL_IL_CheckNull
protected void getSetFieldsToSQL_IL_CheckNull(int fieldNo, StringBuffer buf)(Code)



Fields inherited from com.versant.core.metadata.generator.StateSrcGenerator
final protected static String CLASS_META_DATA_CLASS(Code)(Java Doc)
final protected String DIRTY_FIELD_NAME(Code)(Java Doc)
final protected static String FIELD_META_DATA_CLASS(Code)(Java Doc)
final protected String FIELD_NOT_FOUND_EXCEPTION(Code)(Java Doc)
final protected String FILLED_FIELD_NAME(Code)(Java Doc)
final protected static String INT_ARRAY(Code)(Java Doc)
final public static String JDBC_CONVERTER_FIELD_PREFIX(Code)(Java Doc)
final protected static String OID_SUPER_CLASS(Code)(Java Doc)
final protected String RESOLVED_NAME(Code)(Java Doc)
final public static String SCHEMA_FIELD_PREFIX(Code)(Java Doc)
final protected static String STATE_SUPER_CLASS(Code)(Java Doc)
final public static String VDS_FIELD_PREFIX(Code)(Java Doc)
protected String className(Code)(Java Doc)
protected HashMap classToGetFieldAbs(Code)(Java Doc)
protected HashMap classToInternalSetField(Code)(Java Doc)
protected HashMap classToInternalSetFieldAbs(Code)(Java Doc)
protected HashMap classToSetField(Code)(Java Doc)
protected HashMap classToSetFieldAbs(Code)(Java Doc)
protected ClassMetaData cmd(Code)(Java Doc)
protected HashMap getFieldToClass(Code)(Java Doc)
protected ArrayList imutableTypeList(Code)(Java Doc)
protected ArrayList nonObjectClassTypeList(Code)(Java Doc)
protected HashMap primClassToSerReadMethod(Code)(Java Doc)
protected HashMap primClassToSerWriteMethod(Code)(Java Doc)
protected HashMap primativeTypesToWrapper(Code)(Java Doc)
protected ArrayList realNonObjectClassTypeList(Code)(Java Doc)
protected ClassSpec spec(Code)(Java Doc)
protected int totalNoOfFields(Code)(Java Doc)
protected HashMap typeToPreparedStatementSetField(Code)(Java Doc)
protected HashMap typeToResultSetGetField(Code)(Java Doc)
protected HashMap wrapperStringToValue(Code)(Java Doc)
protected HashMap wrapperTypesToPrimative(Code)(Java Doc)
protected HashMap wrapperTypesToValue(Code)(Java Doc)

Methods inherited from com.versant.core.metadata.generator.StateSrcGenerator
protected void addAddRefs()(Code)(Java Doc)
protected void addAllGetXXXFields()(Code)(Java Doc)
protected void addAllGetXXXFieldsAbs()(Code)(Java Doc)
protected void addAllSetInternalXXXFields()(Code)(Java Doc)
protected void addAllSetInternalXXXFieldsAbs()(Code)(Java Doc)
protected void addAllSetXXXFields()(Code)(Java Doc)
protected void addAllSetXXXFieldsAbs()(Code)(Java Doc)
protected void addCheckKeyFields()(Code)(Java Doc)
protected void addClear()(Code)(Java Doc)
protected void addClearApplicationIdentityFields()(Code)(Java Doc)
protected void addClearCollectionFields()(Code)(Java Doc)
protected void addClearDirtyFields()(Code)(Java Doc)
protected void addClearFilledFlags()(Code)(Java Doc)
protected void addClearNonAutoSetFields()(Code)(Java Doc)
protected void addClearNonFilled()(Code)(Java Doc)
protected void addClearSCOFields()(Code)(Java Doc)
protected void addClearTransactionNonPersistentFields()(Code)(Java Doc)
protected void addCompareToPass1()(Code)(Java Doc)
protected void addConstructor()(Code)(Java Doc)
protected void addContainFields()(Code)(Java Doc)
protected void addContainFieldsAbs()(Code)(Java Doc)
protected void addContainsApplicationIdentityFields()(Code)(Java Doc)
protected void addContainsFetchGroup()(Code)(Java Doc)
protected void addContainsField()(Code)(Java Doc)
protected void addContainsFieldAbs()(Code)(Java Doc)
protected void addContainsPass1Fields()(Code)(Java Doc)
protected void addContainsPass2Fields()(Code)(Java Doc)
abstract protected void addContainsValidAppIdFields()(Code)(Java Doc)
protected void addCopyFields()(Code)(Java Doc)
protected void addCopyFieldsForOptimisticLocking()(Code)(Java Doc)
protected void addCopyKeyFieldsFromOID()(Code)(Java Doc)
protected void addCopyKeyFieldsUpdate()(Code)(Java Doc)
protected void addCopyOptimisticLockingField()(Code)(Java Doc)
protected void addEqualsObject()(Code)(Java Doc)
protected void addExpect()(Code)(Java Doc)
protected void addFields()(Code)(Java Doc)
protected void addFillForRead()(Code)(Java Doc)
protected void addFindDirectEdges()(Code)(Java Doc)
protected void addGetClassIndex()(Code)(Java Doc)
protected void addGetClassMetaData()(Code)(Java Doc)
protected void addGetClassMetaDataJMD()(Code)(Java Doc)
protected void addGetCopy()(Code)(Java Doc)
protected void addGetDirtyState()(Code)(Java Doc)
protected void addGetFieldNos()(Code)(Java Doc)
protected void addGetInternalObjectField()(Code)(Java Doc)
protected void addGetInternalObjectFieldAbs()(Code)(Java Doc)
protected void addGetNullFields()(Code)(Java Doc)
protected void addGetOptimisticLockingValue()(Code)(Java Doc)
protected void addGetPass1FieldNos()(Code)(Java Doc)
protected void addGetPass1FieldRefFieldNosWithNewOids()(Code)(Java Doc)
protected void addGetPass2FieldNos()(Code)(Java Doc)
protected void addGetResolvableObjectField()(Code)(Java Doc)
protected void addGetResolvableObjectFieldAbs()(Code)(Java Doc)
protected void addGetResolvableObjectFieldImp(FieldMetaData info, StringBuffer buf, int fieldNo)(Code)(Java Doc)
protected void addGetXXXField(String methodName)(Code)(Java Doc)
protected void addGetXXXFieldAbs(Class type)(Code)(Java Doc)
protected void addHasSameFields()(Code)(Java Doc)
protected void addHasSameNullFields()(Code)(Java Doc)
protected void addHashCode()(Code)(Java Doc)
protected void addInitStatics()(Code)(Java Doc)
protected void addInitStaticsBody(StringBuffer buf)(Code)(Java Doc)
protected void addIsDirty()(Code)(Java Doc)
protected void addIsDirtyInt()(Code)(Java Doc)
protected void addIsEmpty()(Code)(Java Doc)
protected void addIsFieldNullorZero()(Code)(Java Doc)
protected void addIsHollow()(Code)(Java Doc)
protected void addIsNull()(Code)(Java Doc)
protected void addIsResolvedForClient()(Code)(Java Doc)
protected void addMakeClean()(Code)(Java Doc)
protected void addMakeDirty()(Code)(Java Doc)
protected void addMakeDirtyAbs()(Code)(Java Doc)
protected void addNewInstance()(Code)(Java Doc)
protected void addOneToManyInverseFieldsForL2Evict()(Code)(Java Doc)
protected void addPrepare()(Code)(Java Doc)
protected void addReadExternal()(Code)(Java Doc)
protected void addReplaceNewObjectOIDs()(Code)(Java Doc)
protected void addReplaceSCOFields()(Code)(Java Doc)
protected void addRetrieve()(Code)(Java Doc)
protected void addSetClassMetaData()(Code)(Java Doc)
protected void addSetFilled()(Code)(Java Doc)
protected void addSetInternalObjectField()(Code)(Java Doc)
protected void addSetInternalObjectFieldAbs()(Code)(Java Doc)
protected void addSetInternalXXXField(Class type)(Code)(Java Doc)
protected void addSetInternalXXXFieldAbs(Class type)(Code)(Java Doc)
protected void addSetObjectField()(Code)(Java Doc)
protected void addSetObjectFieldAbs()(Code)(Java Doc)
protected void addSetObjectFieldUnresolved()(Code)(Java Doc)
protected void addSetObjectFieldUnresolvedAbs()(Code)(Java Doc)
protected void addSetXXXField(Class type)(Code)(Java Doc)
protected void addSetXXXFieldAbs(Class type)(Code)(Java Doc)
protected void addToString()(Code)(Java Doc)
protected void addUnmanageSCOFields()(Code)(Java Doc)
protected void addUpdateAutoSetFieldsCreated()(Code)(Java Doc)
protected void addUpdateAutoSetFieldsModified()(Code)(Java Doc)
protected void addUpdateFrom()(Code)(Java Doc)
protected void addUpdateNonFilled()(Code)(Java Doc)
protected void addVersion()(Code)(Java Doc)
protected void addWriteExternal()(Code)(Java Doc)
protected FetchGroup findFirstRefFG(ClassMetaData cmd)(Code)(Java Doc)
public ClassSpec generateState(ClassMetaData cmd)(Code)(Java Doc)
protected int getAbsFieldNo(FieldMetaData fmd)(Code)(Java Doc)
protected List getAllRealObjectFields()(Code)(Java Doc)
protected String getBufName(String name, int maxLenght)(Code)(Java Doc)
protected LinkedList getDirectRefFieldsMetaData()(Code)(Java Doc)
protected String getDirtyFieldName(int fieldNum)(Code)(Java Doc)
protected int getFieldIndex(int fieldNum)(Code)(Java Doc)
protected int getFieldIndexMask(int fieldNum)(Code)(Java Doc)
protected String getFieldName(int fieldNum)(Code)(Java Doc)
protected int getFieldNo(FieldMetaData fmd)(Code)(Java Doc)
protected List getFields(Class type)(Code)(Java Doc)
protected List getFields(int index)(Code)(Java Doc)
protected List getFieldsAbs(Class type)(Code)(Java Doc)
protected String getFilledFieldName(int fieldNum)(Code)(Java Doc)
protected int getLocalVarIndex(int firstIndex, int fieldNo)(Code)(Java Doc)
protected int getNumOfControlFields()(Code)(Java Doc)
protected String getOIDName(FieldMetaData fmd)(Code)(Java Doc)
protected List getOIDsFieldsMetaData()(Code)(Java Doc)
protected List getObjectFields()(Code)(Java Doc)
protected List getObjectFieldsAbs()(Code)(Java Doc)
protected List getObjectFieldsMetaData()(Code)(Java Doc)
protected List getObjectFieldsMetaDataAbs()(Code)(Java Doc)
protected List getPass1FieldAndRefOrPolyRefFields(int index)(Code)(Java Doc)
protected List getPass1Fields(int index)(Code)(Java Doc)
protected List getPass1FieldsMetaData()(Code)(Java Doc)
protected List getPass2Fields(int index)(Code)(Java Doc)
protected List getPrimaryFields(int index)(Code)(Java Doc)
protected List getPrimaryFields()(Code)(Java Doc)
protected int getPrimaryHash(int index)(Code)(Java Doc)
protected int getPrimativeHashForIndex(int index)(Code)(Java Doc)
protected String getReadMethod(int index)(Code)(Java Doc)
protected List getRealObjectFields(int index)(Code)(Java Doc)
protected String getResolvedFieldName(int fieldNum)(Code)(Java Doc)
protected List getSecondaryFields()(Code)(Java Doc)
protected List getSecondaryFields(int index)(Code)(Java Doc)
protected int getSecondaryHash(int index)(Code)(Java Doc)
protected ClassMetaData getTopPCSuperClassMetaData()(Code)(Java Doc)
protected String getWriteMethod(int index)(Code)(Java Doc)
protected boolean isArray(FieldMetaData info)(Code)(Java Doc)
protected boolean isCollection(FieldMetaData info)(Code)(Java Doc)
protected boolean isDate(int fieldNo)(Code)(Java Doc)
protected boolean isDate(FieldMetaData fmd)(Code)(Java Doc)
protected boolean isExternalized(FieldMetaData fmd)(Code)(Java Doc)
protected boolean isMap(FieldMetaData info)(Code)(Java Doc)
protected boolean isOID(FieldMetaData info)(Code)(Java Doc)
protected boolean isObject(FieldMetaData fmd)(Code)(Java Doc)
protected boolean isPCArray(FieldMetaData fmd)(Code)(Java Doc)
protected boolean isPolyRef(FieldMetaData info)(Code)(Java Doc)
protected boolean isPrimitiveArray(FieldMetaData info)(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.