Java Doc for DBDataWriter.java in  » Database-ORM » ProjectJulp » org » julp » 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 ORM » ProjectJulp » org.julp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.julp.DBDataWriter

DBDataWriter
public class DBDataWriter implements DataWriter,java.io.Serializable,Cloneable(Code)


Field Summary
protected  Object[]EMPTY_READ_ARG
    
protected  intcreatedCount
    
protected  ListcreatedObjects
    
protected  booleandebug
    
protected  booleanexceptionOnEmptyObjectList
    
protected  StringfullTableName
    
protected  ListgeneratedSQL
    
protected  StringmodifiedCatalog
    
protected  intmodifiedCount
    
protected  ListmodifiedObjects
    
protected  StringmodifiedSchema
    
protected  StringmodifiedTable
    
protected  intremovedCount
    
protected  ListremovedObjects
    
protected  DomainObjectFactoryrequestor
    
protected  ThrowablewhatIsWrong
    

Constructor Summary
public  DBDataWriter()
    

Method Summary
protected  booleancreateObject(DomainObject domainObject)
    
protected  booleancreateObjects()
    
public  intgetCreatedCount()
     Getter for property createdCount.
public  java.util.ListgetGeneratedSQL()
     Getter for property generatedSQL.
public  java.lang.StringgetGeneratedSQLasXML()
     Getter for property generatedSQLasXML.
public  java.lang.StringgetModifiedCatalog()
     Getter for property modifiedCatalog.
public  intgetModifiedCount()
     Getter for property modifiedCount.
public  intgetRemovedCount()
     Getter for property removedCount.
public  java.lang.ThrowablegetWhatIsWrong()
     Getter for property whatIsWrong.
protected  booleanhandleException(DomainObject domainObject, String sql, Collection params, Throwable t)
    
protected  voidinit()
    
public  booleanisDebug()
    
public  booleanisExceptionOnEmptyObjectList()
    
protected  ObjectreadValue(DomainObject domainObject, Method method)
    
protected  booleanremoveObject(DomainObject domainObject)
    
protected  booleanremoveObjects()
    
public  voidreset()
    
protected  voidsetCreatedCount(int createdCount)
     Setter for property createdCount.
public  voidsetDebug(boolean debug)
    
public  voidsetExceptionOnEmptyObjectList(boolean exceptionOnEmptyObjectList)
    
public  voidsetModifiedCatalog(java.lang.String modifiedCatalog)
     Setter for property modifiedCatalog.
protected  voidsetModifiedCount(int modifiedCount)
     Setter for property modifiedCount.
protected  voidsetRemovedCount(int removedCount)
     Setter for property removedCount.
public  voidsetWhatIsWrong(java.lang.Throwable whatIsWrong)
     Setter for property whatIsWrong.
protected  booleanstoreObject(DomainObject domainObject)
    
protected  booleanstoreObjects()
    
public  booleanwriteData(DomainObjectFactory requestor)
    

Field Detail
EMPTY_READ_ARG
protected Object[] EMPTY_READ_ARG(Code)



createdCount
protected int createdCount(Code)



createdObjects
protected List createdObjects(Code)



debug
protected boolean debug(Code)



exceptionOnEmptyObjectList
protected boolean exceptionOnEmptyObjectList(Code)



fullTableName
protected String fullTableName(Code)



generatedSQL
protected List generatedSQL(Code)



modifiedCatalog
protected String modifiedCatalog(Code)



modifiedCount
protected int modifiedCount(Code)



modifiedObjects
protected List modifiedObjects(Code)



modifiedSchema
protected String modifiedSchema(Code)



modifiedTable
protected String modifiedTable(Code)



removedCount
protected int removedCount(Code)



removedObjects
protected List removedObjects(Code)



requestor
protected DomainObjectFactory requestor(Code)



whatIsWrong
protected Throwable whatIsWrong(Code)




Constructor Detail
DBDataWriter
public DBDataWriter()(Code)




Method Detail
createObject
protected boolean createObject(DomainObject domainObject)(Code)



createObjects
protected boolean createObjects()(Code)



getCreatedCount
public int getCreatedCount()(Code)
Getter for property createdCount. Value of property createdCount.



getGeneratedSQL
public java.util.List getGeneratedSQL()(Code)
Getter for property generatedSQL. Value of property generatedSQL.



getGeneratedSQLasXML
public java.lang.String getGeneratedSQLasXML()(Code)
Getter for property generatedSQLasXML. Value of property generatedSQLasXML.



getModifiedCatalog
public java.lang.String getModifiedCatalog()(Code)
Getter for property modifiedCatalog. Value of property modifiedCatalog.



getModifiedCount
public int getModifiedCount()(Code)
Getter for property modifiedCount. Value of property modifiedCount.



getRemovedCount
public int getRemovedCount()(Code)
Getter for property removedCount. Value of property removedCount.



getWhatIsWrong
public java.lang.Throwable getWhatIsWrong()(Code)
Getter for property whatIsWrong. Value of property whatIsWrong.



handleException
protected boolean handleException(DomainObject domainObject, String sql, Collection params, Throwable t)(Code)



init
protected void init() throws SQLException(Code)



isDebug
public boolean isDebug()(Code)



isExceptionOnEmptyObjectList
public boolean isExceptionOnEmptyObjectList()(Code)



readValue
protected Object readValue(DomainObject domainObject, Method method) throws SQLException(Code)



removeObject
protected boolean removeObject(DomainObject domainObject)(Code)



removeObjects
protected boolean removeObjects()(Code)



reset
public void reset()(Code)



setCreatedCount
protected void setCreatedCount(int createdCount)(Code)
Setter for property createdCount.
Parameters:
  createdCount - New value of property createdCount.



setDebug
public void setDebug(boolean debug)(Code)



setExceptionOnEmptyObjectList
public void setExceptionOnEmptyObjectList(boolean exceptionOnEmptyObjectList)(Code)



setModifiedCatalog
public void setModifiedCatalog(java.lang.String modifiedCatalog)(Code)
Setter for property modifiedCatalog.
Parameters:
  modifiedCatalog - New value of property modifiedCatalog.



setModifiedCount
protected void setModifiedCount(int modifiedCount)(Code)
Setter for property modifiedCount.
Parameters:
  modifiedCount - New value of property modifiedCount.



setRemovedCount
protected void setRemovedCount(int removedCount)(Code)
Setter for property removedCount.
Parameters:
  removedCount - New value of property removedCount.



setWhatIsWrong
public void setWhatIsWrong(java.lang.Throwable whatIsWrong)(Code)
Setter for property whatIsWrong.
Parameters:
  whatIsWrong - New value of property whatIsWrong.



storeObject
protected boolean storeObject(DomainObject domainObject)(Code)



storeObjects
protected boolean storeObjects()(Code)



writeData
public boolean writeData(DomainObjectFactory requestor)(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.