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


java.lang.Object
   com.versant.core.metadata.generator.OIDSrcGenerator

All known Subclasses:   com.versant.core.jdbc.JdbcOIDGenerator,
OIDSrcGenerator
abstract public class OIDSrcGenerator (Code)
Generates java source for an OID class for a PC class.


Field Summary
final protected  StringCLASS_INDEX
    
final public static  StringJDBC_CONVERTER_FIELD_PREFIX
    
final protected  StringRESOLVED
    
protected  StringclassName
    
protected  ClassMetaDatacmd
    
protected  ClassMetaDatacurrentCMD
    
final protected  ModelMetaDatajmd
    
protected  HashMapprimClassToSerReadMethod
    
protected  HashMapprimClassToSerWriteMethod
    
protected  HashMapprimitiveToWrapperTypes
    
protected  HashMapprimitiveTypesToValue
    
protected  ClassSpecspec
    
protected  StringstateClassName
    
protected  ClassMetaDatatempClassMetaData
    
protected  HashMaptypeToPreparedStatementSetField
    
protected  HashMaptypeToResultSetGetField
    
protected  HashMapwrapperTypesToPrimitive
    
protected  HashMapwrapperTypesToValue
    

Constructor Summary
public  OIDSrcGenerator(ModelMetaData jmd)
    

Method Summary
abstract protected  voidaddCompareTo()
    
protected  voidaddConstructor()
     Add's a constructor that calls the OID super class this constructor is needed only when there is a class hier involved and we keep a classIndex var in the class.
abstract protected  voidaddCopyKeyFieldsFromState()
    
abstract protected  voidaddCopyKeyFieldsObjects()
    
abstract protected  voidaddCopyKeyFieldsUpdate()
    
protected  voidaddDefaultConstructor()
    
abstract protected  voidaddEqualsObject()
    
protected  voidaddFields()
     Add all PK field(s).
protected  voidaddFillFromIDObject()
    
protected  voidaddFillFromIDString2()
    
protected  voidaddGetAvailableClassId()
    
protected  voidaddGetAvailableClassMetaData()
    
protected  voidaddGetBaseClassMetaData()
    
protected  voidaddGetClassIndex()
    
protected  voidaddGetClassMetaData()
    
protected  voidaddGetCompareClassIndex()
    
abstract protected  voidaddGetCopy()
    
protected  voidaddGetIdentityType()
    
abstract protected  voidaddGetLongPrimaryKey()
    
abstract protected  voidaddHashCode()
    
protected  voidaddInitStatics()
     Add method to fill in values of static fields from ModelMetaData.
protected  voidaddInitStaticsBody(StringBuffer buf)
    
protected  voidaddIsNewEtc()
    
protected  voidaddIsResolved()
    
protected  voidaddPopulateObjectIdClassInstance()
    
protected  voidaddReadExternal()
    
protected  voidaddReadExternalFast()
    
protected  voidaddReadExternalImp(StringBuffer buf)
    
protected  voidaddResolve()
    
abstract protected  voidaddSetLongPrimaryKey()
    
abstract protected  voidaddToPKString()
    
abstract protected  voidaddToSString()
    
abstract protected  voidaddToString()
    
protected  voidaddToStringImp()
    
protected  voidaddVersion()
    
protected  voidaddWriteExternal()
    
protected  voidaddWriteExternalFast()
    
protected  voidaddWriteExternalImp(StringBuffer buf)
    
abstract protected  voidaddfillFromPK()
    
public  ClassSpecgenerateOID(ClassMetaData cmd)
    
protected  ClassMetaData[]getAllSubClasses(ClassMetaData topCMD)
    
protected  ClassMetaDatagetCurrentCMD()
    
protected  StringgetFieldName(int num)
    
protected  intgetIndex()
    
protected  ClassMetaDatagetTopPCSuperClassMetaData()
    
protected  voidsetTopPCSuperClassMetaData(ClassMetaData currentCMD)
    

Field Detail
CLASS_INDEX
final protected String CLASS_INDEX(Code)



JDBC_CONVERTER_FIELD_PREFIX
final public static String JDBC_CONVERTER_FIELD_PREFIX(Code)



RESOLVED
final protected String RESOLVED(Code)



className
protected String className(Code)



cmd
protected ClassMetaData cmd(Code)



currentCMD
protected ClassMetaData currentCMD(Code)



jmd
final protected ModelMetaData jmd(Code)



primClassToSerReadMethod
protected HashMap primClassToSerReadMethod(Code)



primClassToSerWriteMethod
protected HashMap primClassToSerWriteMethod(Code)



primitiveToWrapperTypes
protected HashMap primitiveToWrapperTypes(Code)



primitiveTypesToValue
protected HashMap primitiveTypesToValue(Code)



spec
protected ClassSpec spec(Code)



stateClassName
protected String stateClassName(Code)



tempClassMetaData
protected ClassMetaData tempClassMetaData(Code)



typeToPreparedStatementSetField
protected HashMap typeToPreparedStatementSetField(Code)



typeToResultSetGetField
protected HashMap typeToResultSetGetField(Code)



wrapperTypesToPrimitive
protected HashMap wrapperTypesToPrimitive(Code)



wrapperTypesToValue
protected HashMap wrapperTypesToValue(Code)




Constructor Detail
OIDSrcGenerator
public OIDSrcGenerator(ModelMetaData jmd)(Code)




Method Detail
addCompareTo
abstract protected void addCompareTo()(Code)



addConstructor
protected void addConstructor()(Code)
Add's a constructor that calls the OID super class this constructor is needed only when there is a class hier involved and we keep a classIndex var in the class.



addCopyKeyFieldsFromState
abstract protected void addCopyKeyFieldsFromState()(Code)



addCopyKeyFieldsObjects
abstract protected void addCopyKeyFieldsObjects()(Code)



addCopyKeyFieldsUpdate
abstract protected void addCopyKeyFieldsUpdate()(Code)



addDefaultConstructor
protected void addDefaultConstructor()(Code)
Add's a default constructor that calls the OID super class this constructor is needed so that we can get an instance from the class with class.newInstance()



addEqualsObject
abstract protected void addEqualsObject()(Code)



addFields
protected void addFields()(Code)
Add all PK field(s).



addFillFromIDObject
protected void addFillFromIDObject()(Code)



addFillFromIDString2
protected void addFillFromIDString2()(Code)



addGetAvailableClassId
protected void addGetAvailableClassId()(Code)



addGetAvailableClassMetaData
protected void addGetAvailableClassMetaData()(Code)



addGetBaseClassMetaData
protected void addGetBaseClassMetaData()(Code)



addGetClassIndex
protected void addGetClassIndex()(Code)



addGetClassMetaData
protected void addGetClassMetaData()(Code)



addGetCompareClassIndex
protected void addGetCompareClassIndex()(Code)



addGetCopy
abstract protected void addGetCopy()(Code)



addGetIdentityType
protected void addGetIdentityType()(Code)



addGetLongPrimaryKey
abstract protected void addGetLongPrimaryKey()(Code)



addHashCode
abstract protected void addHashCode()(Code)



addInitStatics
protected void addInitStatics()(Code)
Add method to fill in values of static fields from ModelMetaData. This is invoked once the class has been loaded.



addInitStaticsBody
protected void addInitStaticsBody(StringBuffer buf)(Code)



addIsNewEtc
protected void addIsNewEtc()(Code)



addIsResolved
protected void addIsResolved()(Code)



addPopulateObjectIdClassInstance
protected void addPopulateObjectIdClassInstance()(Code)



addReadExternal
protected void addReadExternal()(Code)



addReadExternalFast
protected void addReadExternalFast()(Code)



addReadExternalImp
protected void addReadExternalImp(StringBuffer buf)(Code)



addResolve
protected void addResolve()(Code)



addSetLongPrimaryKey
abstract protected void addSetLongPrimaryKey()(Code)



addToPKString
abstract protected void addToPKString()(Code)



addToSString
abstract protected void addToSString()(Code)



addToString
abstract protected void addToString()(Code)



addToStringImp
protected void addToStringImp()(Code)



addVersion
protected void addVersion()(Code)



addWriteExternal
protected void addWriteExternal()(Code)



addWriteExternalFast
protected void addWriteExternalFast()(Code)



addWriteExternalImp
protected void addWriteExternalImp(StringBuffer buf)(Code)



addfillFromPK
abstract protected void addfillFromPK()(Code)



generateOID
public ClassSpec generateOID(ClassMetaData cmd)(Code)



getAllSubClasses
protected ClassMetaData[] getAllSubClasses(ClassMetaData topCMD)(Code)



getCurrentCMD
protected ClassMetaData getCurrentCMD()(Code)



getFieldName
protected String getFieldName(int num)(Code)



getIndex
protected int getIndex()(Code)



getTopPCSuperClassMetaData
protected ClassMetaData getTopPCSuperClassMetaData()(Code)



setTopPCSuperClassMetaData
protected void setTopPCSuperClassMetaData(ClassMetaData currentCMD)(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.