Java Doc for SimplePropertyBeanGenerator.java in  » Database-JDBC-Connection-Pool » c3p0 » com » mchange » v2 » codegen » bean » 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 JDBC Connection Pool » c3p0 » com.mchange.v2.codegen.bean 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.mchange.v2.codegen.bean.SimplePropertyBeanGenerator

All known Subclasses:   com.mchange.v2.codegen.bean.InnerBeanPropertyBeanGenerator,
SimplePropertyBeanGenerator
public class SimplePropertyBeanGenerator implements PropertyBeanGenerator(Code)


Field Summary
protected  SetgeneralImports
    
protected  ListgeneratorExtensions
    
protected  ClassInfoinfo
    
protected  SetinterfaceNames
    
protected  ListinterfaceTypes
    
protected  IndentedWriteriw
    
protected  Class[]propertyTypes
    
protected  Property[]props
    
protected  SetspecificImports
    
protected  ClasssuperclassType
    


Method Summary
public synchronized  voidaddExtension(GeneratorExtension ext)
    
protected  voidaddInternalImports()
    
protected  voidaddInternalInterfaces()
    
 booleanboundProperties()
    
 booleanconstrainedProperties()
    
public synchronized  voidgenerate(ClassInfo info, Property[] props, Writer w)
    
protected  StringgetConstructorDefensiveCopyExpression(Property prop, Class propType)
    
public synchronized  StringgetGeneratorName()
    
protected  StringgetGetterDefensiveCopyExpression(Property prop, Class propType)
    
public synchronized  intgetJavaVersion()
    
protected  StringgetSetterDefensiveCopyExpression(Property prop, Class propType)
    
public synchronized  booleanisForceUnmodifiable()
    
public synchronized  booleanisInner()
    
public static  voidmain(String[] argv)
    
public synchronized  voidremoveExtension(GeneratorExtension ext)
    
protected  voidresolveTypes()
    
public synchronized  voidsetForceUnmodifiable(boolean force_unmodifiable)
    
public synchronized  voidsetGeneratorName(String generatorName)
    
public synchronized  voidsetInner(boolean inner)
    
public synchronized  voidsetJavaVersion(int java_version)
    
protected  voidwriteBannerComments()
    
protected  voidwriteBoundPropertyEventSourceMethods()
    
protected  voidwriteClassDeclaration()
    
protected  voidwriteConstrainedPropertyEventSourceMethods()
    
protected  voidwriteCoreBody()
    
protected  voidwriteGetterSetterPair(Property prop, Class propType)
    
protected  voidwriteGetterSetterPairs()
    
protected  voidwriteHeader()
    
protected  voidwriteImports()
    
protected  voidwriteInternalUtilityFunctions()
    
protected  voidwriteJavaBeansChangeSupport()
    
protected  voidwriteOtherClasses()
    
protected  voidwriteOtherFunctions()
    
protected  voidwriteOtherVariables()
    
protected  voidwritePropertyGetter(Property prop, Class propType)
    
protected  voidwritePropertyMember(Property prop)
    
protected  voidwritePropertyMembers()
    
protected  voidwritePropertySetter(Property prop, Class propType)
    
protected  voidwritePropertyVariable(Property prop)
    
protected  voidwritePropertyVariables()
    

Field Detail
generalImports
protected Set generalImports(Code)



generatorExtensions
protected List generatorExtensions(Code)



info
protected ClassInfo info(Code)



interfaceNames
protected Set interfaceNames(Code)



interfaceTypes
protected List interfaceTypes(Code)



iw
protected IndentedWriter iw(Code)



propertyTypes
protected Class[] propertyTypes(Code)



props
protected Property[] props(Code)



specificImports
protected Set specificImports(Code)



superclassType
protected Class superclassType(Code)





Method Detail
addExtension
public synchronized void addExtension(GeneratorExtension ext)(Code)



addInternalImports
protected void addInternalImports()(Code)



addInternalInterfaces
protected void addInternalInterfaces()(Code)



boundProperties
boolean boundProperties()(Code)



constrainedProperties
boolean constrainedProperties()(Code)



generate
public synchronized void generate(ClassInfo info, Property[] props, Writer w) throws IOException(Code)



getConstructorDefensiveCopyExpression
protected String getConstructorDefensiveCopyExpression(Property prop, Class propType)(Code)



getGeneratorName
public synchronized String getGeneratorName()(Code)



getGetterDefensiveCopyExpression
protected String getGetterDefensiveCopyExpression(Property prop, Class propType)(Code)



getJavaVersion
public synchronized int getJavaVersion()(Code)



getSetterDefensiveCopyExpression
protected String getSetterDefensiveCopyExpression(Property prop, Class propType)(Code)



isForceUnmodifiable
public synchronized boolean isForceUnmodifiable()(Code)



isInner
public synchronized boolean isInner()(Code)



main
public static void main(String[] argv)(Code)



removeExtension
public synchronized void removeExtension(GeneratorExtension ext)(Code)



resolveTypes
protected void resolveTypes()(Code)



setForceUnmodifiable
public synchronized void setForceUnmodifiable(boolean force_unmodifiable)(Code)



setGeneratorName
public synchronized void setGeneratorName(String generatorName)(Code)



setInner
public synchronized void setInner(boolean inner)(Code)



setJavaVersion
public synchronized void setJavaVersion(int java_version)(Code)

Parameters:
  version - a three digit number -- for example Java 1.3.1 is 131



writeBannerComments
protected void writeBannerComments() throws IOException(Code)



writeBoundPropertyEventSourceMethods
protected void writeBoundPropertyEventSourceMethods() throws IOException(Code)



writeClassDeclaration
protected void writeClassDeclaration() throws IOException(Code)



writeConstrainedPropertyEventSourceMethods
protected void writeConstrainedPropertyEventSourceMethods() throws IOException(Code)



writeCoreBody
protected void writeCoreBody() throws IOException(Code)



writeGetterSetterPair
protected void writeGetterSetterPair(Property prop, Class propType) throws IOException(Code)



writeGetterSetterPairs
protected void writeGetterSetterPairs() throws IOException(Code)



writeHeader
protected void writeHeader() throws IOException(Code)



writeImports
protected void writeImports() throws IOException(Code)



writeInternalUtilityFunctions
protected void writeInternalUtilityFunctions() throws IOException(Code)



writeJavaBeansChangeSupport
protected void writeJavaBeansChangeSupport() throws IOException(Code)



writeOtherClasses
protected void writeOtherClasses() throws IOException(Code)



writeOtherFunctions
protected void writeOtherFunctions() throws IOException(Code)



writeOtherVariables
protected void writeOtherVariables() throws IOException(Code)



writePropertyGetter
protected void writePropertyGetter(Property prop, Class propType) throws IOException(Code)



writePropertyMember
protected void writePropertyMember(Property prop) throws IOException(Code)



writePropertyMembers
protected void writePropertyMembers() throws IOException(Code)



writePropertySetter
protected void writePropertySetter(Property prop, Class propType) throws IOException(Code)



writePropertyVariable
protected void writePropertyVariable(Property prop) throws IOException(Code)



writePropertyVariables
protected void writePropertyVariables() throws IOException(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.