Java Doc for Compound.java in  » Database-ORM » ODAL » com » completex » objective » components » persistency » 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 » ODAL » com.completex.objective.components.persistency 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.completex.objective.components.persistency.Compound

All known Subclasses:   com.completex.objective.components.persistency.AbstractPersistentObject,  com.completex.objective.components.persistency.CompoundPersistentObject,  com.completex.objective.components.persistency.PersistentObject,
Compound
public interface Compound extends PersistentObjectFactory(Code)
Describes compound persistent object - one that is based on array of other persistent objects
author:
   Gennady Krizhevsky

Inner Class :public static class ImplicitJoinMode

Field Summary
final public static  ImplicitJoinModeINNER
    
final public static  ImplicitJoinModeNONE
    
final public static  ImplicitJoinModeOUTER
    


Method Summary
 booleancompoundCascadeDelete()
    
 booleancompoundCascadeDelete(int index)
    
 voidcompoundCascadeDelete(int index, boolean compoundCascadeDelete)
    
 booleancompoundCascadeInsert()
    
 booleancompoundCascadeInsert(int index)
    
 voidcompoundCascadeInsert(int index, boolean compoundCascadeInsert)
    
 PersistentObject[]compoundEntries()
    
 voidcompoundEntry(int index, PersistentObject persistentObject)
    
 PersistentObjectcompoundEntry(int index)
    
 intcompoundSize()
    
 booleandirty()
    
 ImplicitJoinModeimplicitJoinMode()
    
 voidimplicitJoinMode(ImplicitJoinMode implicitJoinMode)
    
 Joinjoin()
    
 Joinjoin(ImplicitJoinMode implicitJoinMode)
    
 JoinjoinImplicitely(Compound.ImplicitJoinMode implicitJoinMode)
     This method will create join implicitely based on the mutual references It is more coarse than joinImplicitely(Join.Type [] joinTypes) one since there are only 3 possibilities: OUTER, when all the objects with index > 0 join the [0] one with left outer join, and INNER, when all the objects are joined with INNER join.
 JoinjoinImplicitely(Join.Type[] joinTypes)
     This method will create join implicitely based on the mutual references To run it all the persistentObjects have to exist.
 voidpopulateCompoundEntries()
    
 voidpopulateCompoundEntryByJoin(int indexFrom, int indexTo)
    
 booleanselfReferencing()
     Returns true if this is this type of object can be the 1st object of PersistentObject[] of compound PersistentObject.

Field Detail
INNER
final public static ImplicitJoinMode INNER(Code)



NONE
final public static ImplicitJoinMode NONE(Code)



OUTER
final public static ImplicitJoinMode OUTER(Code)





Method Detail
compoundCascadeDelete
boolean compoundCascadeDelete()(Code)
Returns true if cascade delete is to be performed based on entries joins true if cascade delete is to be performed based on entries joins



compoundCascadeDelete
boolean compoundCascadeDelete(int index)(Code)
Returns true if cascade delete is to be performed based on entries joins for entry specified by index parameter
Parameters:
  index - true if cascade delete is to be performed based on entries joinsfor entry specified by index parameter



compoundCascadeDelete
void compoundCascadeDelete(int index, boolean compoundCascadeDelete)(Code)
Sets flag to indicate if cascade delete is to be performed based on entries joins for entry specified by index parameter
Parameters:
  index -
Parameters:
  compoundCascadeDelete - flag to indicate if cascade delete is to be performed based on entries joinsfor entry specified by index parameter



compoundCascadeInsert
boolean compoundCascadeInsert()(Code)
Returns true if cascade insert is to be performed based on entries joins true if cascade insert is to be performed based on entries joins



compoundCascadeInsert
boolean compoundCascadeInsert(int index)(Code)
Returns true if cascade insert is to be performed based on entries joins for entry specified by index parameter
Parameters:
  index - true if cascade insert is to be performed based on entries joinsfor entry specified by index parameter



compoundCascadeInsert
void compoundCascadeInsert(int index, boolean compoundCascadeInsert)(Code)
Sets flag to indicate if cascade insert is to be performed based on entries joins for entry specified by index parameter
Parameters:
  index -
Parameters:
  compoundCascadeInsert - flag to indicate if cascade insert is to be performed based on entries joinsfor entry specified by index parameter



compoundEntries
PersistentObject[] compoundEntries()(Code)
Returns PersistentObject [] - compound entries of this object PersistentObject [] - compound entries of this object



compoundEntry
void compoundEntry(int index, PersistentObject persistentObject)(Code)
Sets PersistentObject - compound entry at specific index
Parameters:
  index - index which entry to be set
Parameters:
  persistentObject - compound entry



compoundEntry
PersistentObject compoundEntry(int index)(Code)
Returns PersistentObject - compound entry at specific index
Parameters:
  index - index which entry to be returned PersistentObject - compound entry
throws:
  IndexOutOfBoundsException - if there is no entry at requested index



compoundSize
int compoundSize()(Code)
Returns number of compound etries number of compound etries



dirty
boolean dirty()(Code)
Returns true if this object has been modified true if this object has been modified



implicitJoinMode
ImplicitJoinMode implicitJoinMode()(Code)
Returns implicit join mode
See Also:   ImplicitJoinMode implicit join mode



implicitJoinMode
void implicitJoinMode(ImplicitJoinMode implicitJoinMode)(Code)
Sets implicitJoinMode
Parameters:
  implicitJoinMode -



join
Join join()(Code)
This method will be called on compound object to create default join created join



join
Join join(ImplicitJoinMode implicitJoinMode)(Code)
Joins all the compound entries according to Compound.ImplicitJoinMode passed
Parameters:
  implicitJoinMode - new Join



joinImplicitely
Join joinImplicitely(Compound.ImplicitJoinMode implicitJoinMode)(Code)
This method will create join implicitely based on the mutual references It is more coarse than joinImplicitely(Join.Type [] joinTypes) one since there are only 3 possibilities: OUTER, when all the objects with index > 0 join the [0] one with left outer join, and INNER, when all the objects are joined with INNER join. created join



joinImplicitely
Join joinImplicitely(Join.Type[] joinTypes)(Code)
This method will create join implicitely based on the mutual references To run it all the persistentObjects have to exist. As a result, all the objects with index > 0 will joing the one with index 0 created join



populateCompoundEntries
void populateCompoundEntries()(Code)
Populates all entries by join



populateCompoundEntryByJoin
void populateCompoundEntryByJoin(int indexFrom, int indexTo)(Code)
Populate compound Entry By Join
Parameters:
  indexFrom - - entry index of the master PersistentObject
Parameters:
  indexTo - - entry index of the slave PersistentObject



selfReferencing
boolean selfReferencing()(Code)
Returns true if this is this type of object can be the 1st object of PersistentObject[] of compound PersistentObject. true if this is the 1st object in PersistentObject[] of compound PersistentObject



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.