Java Doc for A_omu.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas » jtests » clients » entity » 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 » J2EE » JOnAS 4.8.6 » org.objectweb.jonas.jtests.clients.entity 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.objectweb.jonas.jtests.clients.entity.A_Cmp2Util
   org.objectweb.jonas.jtests.clients.entity.A_omu

All known Subclasses:   org.objectweb.jonas.jtests.clients.entity.F_omu_CRW_EC2,  org.objectweb.jonas.jtests.clients.entity.F_omu_CS_EC2,
A_omu
abstract public class A_omu extends A_Cmp2Util (Code)
For testing one-to-many unidirectional relationships
author:
   S.Chassande-Barrioz, Helene Joanin


Field Summary
protected  booleanisInit
    
static  HashtabletbRelationA2B
    

Constructor Summary
public  A_omu(String name)
    

Method Summary
public  void_testBasicAddMulti(int tx)
     Add an element to a relation already multiple.
public  void_testBasicAddOne(int tx)
     Add an element to a empty relation.
public  void_testBasicClear(int tx)
     Set a relation to empty by clearing the collection.
public  void_testBasicGetEmpty(int tx)
     Check that the bean 'as0' has no relation.
public  void_testBasicGetMany(int tx)
     Check that the bean 'as2' has many relations with 'bs2_1', 'bs2_2', 'bs2_3'.
public  void_testBasicGetOne(int tx)
     Check that the bean 'as1' has only one relation with 'bs1_1'.
public  void_testBasicRemoveInRel(int tx)
     Remove an element in a relation.
public  void_testBasicSetEmpty(int tx)
     Set a relation to empty.
public  void_testBasicSetMulti(int tx)
     Re-Set a relation with N element.
public  void_testBasicSetOne(int tx)
     Set a empty relation with 1 element.
public  void_testCmrMultiIsInit(int tx)
     Test that a muti-valued cmr field is initialized to an empty collection after its creation. See spec.
public  void_testCohAddAllInMulti(int tx)
     Add elements in an relationship.
public  void_testCohAddOneInMulti(int tx)
     Add an element to a relation already multiple.
public  void_testCohBeanRemove(int tx)
     Remove a bean B which is in a relation.
public  void_testCohRemove(int tx)
     Remove a bean B which is in a relation.
public  void_testCohSetMulti(int tx)
    
public  void_testCohSetMultiVarious(int tx)
     Set a relation to multiple Some of element was already in this relation, other was in other relation, and other wasn't in any relation.
public  void_testCohSetOne(int tx)
     Set a empty relation with 1 element.
abstract public  AHomeRemotegetAHome()
    
abstract public  BHomeRemotegetBHome()
    
 booleaninitStateOK()
    
protected  voidsetUp()
    
public  voidtestBasicAddMultiTxCall()
    
public  voidtestBasicAddMultiTxCont()
    
public  voidtestBasicAddMultiTxNo()
    
public  voidtestBasicAddMultiTxRb()
    
public  voidtestBasicAddOneTxCall()
    
public  voidtestBasicAddOneTxCont()
    
public  voidtestBasicAddOneTxNo()
    
public  voidtestBasicAddOneTxRb()
    
public  voidtestBasicClearTxCall()
    
public  voidtestBasicClearTxCont()
    
public  voidtestBasicClearTxNo()
    
public  voidtestBasicClearTxRb()
    
public  voidtestBasicGetEmptyTxCall()
    
public  voidtestBasicGetEmptyTxCont()
    
public  voidtestBasicGetEmptyTxNo()
    
public  voidtestBasicGetManyTxCall()
    
public  voidtestBasicGetManyTxCont()
    
public  voidtestBasicGetManyTxNo()
    
public  voidtestBasicGetOneTxCall()
    
public  voidtestBasicGetOneTxCont()
    
public  voidtestBasicGetOneTxNo()
    
public  voidtestBasicGetOneTxRb()
    
public  voidtestBasicRemoveInRelTxCall()
    
public  voidtestBasicRemoveInRelTxCont()
    
public  voidtestBasicRemoveInRelTxNo()
    
public  voidtestBasicRemoveInRelTxRb()
    
public  voidtestBasicSetEmptyTxCall()
    
public  voidtestBasicSetEmptyTxCont()
    
public  voidtestBasicSetEmptyTxNo()
    
public  voidtestBasicSetEmptyTxRb()
    
public  voidtestBasicSetMultiTxCall()
    
public  voidtestBasicSetMultiTxCont()
    
public  voidtestBasicSetMultiTxNo()
    
public  voidtestBasicSetMultiTxRb()
    
public  voidtestBasicSetOneTxCall()
    
public  voidtestBasicSetOneTxCont()
    
public  voidtestBasicSetOneTxNo()
    
public  voidtestBasicSetOneTxRb()
    
public  voidtestCmrMultiIsInitTxCall()
    
public  voidtestCmrMultiIsInitTxNo()
    
public  voidtestCohAddAllInMultiTxCall()
    
public  voidtestCohAddAllInMultiTxCont()
    
public  voidtestCohAddAllInMultiTxNo()
    
public  voidtestCohAddAllInMultiTxRb()
    
public  voidtestCohAddOneInMultiTxCall()
    
public  voidtestCohAddOneInMultiTxCont()
    
public  voidtestCohAddOneInMultiTxNo()
    
public  voidtestCohAddOneInMultiTxRb()
    
public  voidtestCohBeanRemoveTxCall()
    
public  voidtestCohBeanRemoveTxNo()
    
public  voidtestCohBeanRemoveTxRb()
    
public  voidtestCohRemoveTxCall()
    
public  voidtestCohRemoveTxNo()
    
public  voidtestCohRemoveTxRb()
    
public  voidtestCohSetMultiTxCall()
    
public  voidtestCohSetMultiTxCont()
    
public  voidtestCohSetMultiTxNo()
    
public  voidtestCohSetMultiTxRb()
    
public  voidtestCohSetMultiVariousTxCall()
    
public  voidtestCohSetMultiVariousTxCont()
    
public  voidtestCohSetMultiVariousTxNo()
    
public  voidtestCohSetMultiVariousTxRb()
    
public  voidtestCohSetOneTxCall()
    
public  voidtestCohSetOneTxCont()
    
public  voidtestCohSetOneTxNo()
    
public  voidtestCohSetOneTxRb()
    
public  voidtestReadA()
    
public  voidtestRepeatedAssign()
    

Field Detail
isInit
protected boolean isInit(Code)



tbRelationA2B
static Hashtable tbRelationA2B(Code)




Constructor Detail
A_omu
public A_omu(String name)(Code)




Method Detail
_testBasicAddMulti
public void _testBasicAddMulti(int tx) throws Exception(Code)
Add an element to a relation already multiple. Before: as1 -> bs1_1 bs0 After: as1 -> bs1_1 as1 -> bs0



_testBasicAddOne
public void _testBasicAddOne(int tx) throws Exception(Code)
Add an element to a empty relation. Same as _testBasicSetOne except that we add the element in the collection instead of we set directly the collection. Before: as0 bs0 After: as0 -> bs0



_testBasicClear
public void _testBasicClear(int tx) throws Exception(Code)
Set a relation to empty by clearing the collection. Before: as1 -> bs1_1 After: as1 bs1_1



_testBasicGetEmpty
public void _testBasicGetEmpty(int tx) throws Exception(Code)
Check that the bean 'as0' has no relation.



_testBasicGetMany
public void _testBasicGetMany(int tx) throws Exception(Code)
Check that the bean 'as2' has many relations with 'bs2_1', 'bs2_2', 'bs2_3'.



_testBasicGetOne
public void _testBasicGetOne(int tx) throws Exception(Code)
Check that the bean 'as1' has only one relation with 'bs1_1'.



_testBasicRemoveInRel
public void _testBasicRemoveInRel(int tx) throws Exception(Code)
Remove an element in a relation. Before: a3 -> b3_1 Change: a3.retrieveB().remove(b3_1) After: a3 b3_1 See Spec chapter 10.3.7.4, change example: a1.getB().remove(b1n)



_testBasicSetEmpty
public void _testBasicSetEmpty(int tx) throws Exception(Code)
Set a relation to empty. Before: as1 -> bs1_1 After: as1 bs1_1



_testBasicSetMulti
public void _testBasicSetMulti(int tx) throws Exception(Code)
Re-Set a relation with N element. Before: as1 -> bs1_1 bs0 bs3 After: as1 -> bs0 as1 -> bs3 bs1_1



_testBasicSetOne
public void _testBasicSetOne(int tx) throws Exception(Code)
Set a empty relation with 1 element. This added element was'nt already in an other relation. Before: as0 b0 After: as0 -> b0



_testCmrMultiIsInit
public void _testCmrMultiIsInit(int tx) throws Exception(Code)
Test that a muti-valued cmr field is initialized to an empty collection after its creation. See spec. 2.0, & 10.5.5 page 171



_testCohAddAllInMulti
public void _testCohAddAllInMulti(int tx) throws Exception(Code)
Add elements in an relationship. The relationship was not already empty. One element added had no relation, the other element had a relation



_testCohAddOneInMulti
public void _testCohAddOneInMulti(int tx) throws Exception(Code)
Add an element to a relation already multiple. The element was already in a relation. Check also the assignement rules for relationships. Before: a1 -> b1_1 -> b1_2 -> b1_3 a3 -> b3_1 Change: a1.addInB(b3_1) After: a1 -> b1_1 -> b1_2 -> b1_3 -> b3_1 a3 See Spec chapter 10.3.7.4, change example: a1.getB().add(b2m)



_testCohBeanRemove
public void _testCohBeanRemove(int tx) throws Exception(Code)
Remove a bean B which is in a relation. Same as _testCohRemove except that the rcalled remove method is on the bean instead of the home. Before: a3 -> b3_1 change: B.remove(b3_1) After: a3



_testCohRemove
public void _testCohRemove(int tx) throws Exception(Code)
Remove a bean B which is in a relation. Before: a3 -> b3_1 change: B.remove(b3_1) After: a3



_testCohSetMulti
public void _testCohSetMulti(int tx) throws Exception(Code)



_testCohSetMultiVarious
public void _testCohSetMultiVarious(int tx) throws Exception(Code)
Set a relation to multiple Some of element was already in this relation, other was in other relation, and other wasn't in any relation. Check also the assignement rules for relationships.



_testCohSetOne
public void _testCohSetOne(int tx) throws Exception(Code)
Set a empty relation with 1 element. This added element was already in a other relation. Before: a0 a3 -> b3_1 Change: a0.assignB({b3_1}) After: a0 -> b3_1 a3



getAHome
abstract public AHomeRemote getAHome()(Code)



getBHome
abstract public BHomeRemote getBHome()(Code)



initStateOK
boolean initStateOK() throws Exception(Code)



setUp
protected void setUp()(Code)



testBasicAddMultiTxCall
public void testBasicAddMultiTxCall() throws Exception(Code)



testBasicAddMultiTxCont
public void testBasicAddMultiTxCont() throws Exception(Code)



testBasicAddMultiTxNo
public void testBasicAddMultiTxNo() throws Exception(Code)



testBasicAddMultiTxRb
public void testBasicAddMultiTxRb() throws Exception(Code)



testBasicAddOneTxCall
public void testBasicAddOneTxCall() throws Exception(Code)



testBasicAddOneTxCont
public void testBasicAddOneTxCont() throws Exception(Code)



testBasicAddOneTxNo
public void testBasicAddOneTxNo() throws Exception(Code)



testBasicAddOneTxRb
public void testBasicAddOneTxRb() throws Exception(Code)



testBasicClearTxCall
public void testBasicClearTxCall() throws Exception(Code)



testBasicClearTxCont
public void testBasicClearTxCont() throws Exception(Code)



testBasicClearTxNo
public void testBasicClearTxNo() throws Exception(Code)



testBasicClearTxRb
public void testBasicClearTxRb() throws Exception(Code)



testBasicGetEmptyTxCall
public void testBasicGetEmptyTxCall() throws Exception(Code)



testBasicGetEmptyTxCont
public void testBasicGetEmptyTxCont() throws Exception(Code)



testBasicGetEmptyTxNo
public void testBasicGetEmptyTxNo() throws Exception(Code)



testBasicGetManyTxCall
public void testBasicGetManyTxCall() throws Exception(Code)



testBasicGetManyTxCont
public void testBasicGetManyTxCont() throws Exception(Code)



testBasicGetManyTxNo
public void testBasicGetManyTxNo() throws Exception(Code)



testBasicGetOneTxCall
public void testBasicGetOneTxCall() throws Exception(Code)



testBasicGetOneTxCont
public void testBasicGetOneTxCont() throws Exception(Code)



testBasicGetOneTxNo
public void testBasicGetOneTxNo() throws Exception(Code)



testBasicGetOneTxRb
public void testBasicGetOneTxRb() throws Exception(Code)



testBasicRemoveInRelTxCall
public void testBasicRemoveInRelTxCall() throws Exception(Code)



testBasicRemoveInRelTxCont
public void testBasicRemoveInRelTxCont() throws Exception(Code)



testBasicRemoveInRelTxNo
public void testBasicRemoveInRelTxNo() throws Exception(Code)



testBasicRemoveInRelTxRb
public void testBasicRemoveInRelTxRb() throws Exception(Code)



testBasicSetEmptyTxCall
public void testBasicSetEmptyTxCall() throws Exception(Code)



testBasicSetEmptyTxCont
public void testBasicSetEmptyTxCont() throws Exception(Code)



testBasicSetEmptyTxNo
public void testBasicSetEmptyTxNo() throws Exception(Code)



testBasicSetEmptyTxRb
public void testBasicSetEmptyTxRb() throws Exception(Code)



testBasicSetMultiTxCall
public void testBasicSetMultiTxCall() throws Exception(Code)



testBasicSetMultiTxCont
public void testBasicSetMultiTxCont() throws Exception(Code)



testBasicSetMultiTxNo
public void testBasicSetMultiTxNo() throws Exception(Code)



testBasicSetMultiTxRb
public void testBasicSetMultiTxRb() throws Exception(Code)



testBasicSetOneTxCall
public void testBasicSetOneTxCall() throws Exception(Code)



testBasicSetOneTxCont
public void testBasicSetOneTxCont() throws Exception(Code)



testBasicSetOneTxNo
public void testBasicSetOneTxNo() throws Exception(Code)



testBasicSetOneTxRb
public void testBasicSetOneTxRb() throws Exception(Code)



testCmrMultiIsInitTxCall
public void testCmrMultiIsInitTxCall() throws Exception(Code)



testCmrMultiIsInitTxNo
public void testCmrMultiIsInitTxNo() throws Exception(Code)



testCohAddAllInMultiTxCall
public void testCohAddAllInMultiTxCall() throws Exception(Code)



testCohAddAllInMultiTxCont
public void testCohAddAllInMultiTxCont() throws Exception(Code)



testCohAddAllInMultiTxNo
public void testCohAddAllInMultiTxNo() throws Exception(Code)



testCohAddAllInMultiTxRb
public void testCohAddAllInMultiTxRb() throws Exception(Code)



testCohAddOneInMultiTxCall
public void testCohAddOneInMultiTxCall() throws Exception(Code)



testCohAddOneInMultiTxCont
public void testCohAddOneInMultiTxCont() throws Exception(Code)



testCohAddOneInMultiTxNo
public void testCohAddOneInMultiTxNo() throws Exception(Code)



testCohAddOneInMultiTxRb
public void testCohAddOneInMultiTxRb() throws Exception(Code)



testCohBeanRemoveTxCall
public void testCohBeanRemoveTxCall() throws Exception(Code)



testCohBeanRemoveTxNo
public void testCohBeanRemoveTxNo() throws Exception(Code)



testCohBeanRemoveTxRb
public void testCohBeanRemoveTxRb() throws Exception(Code)



testCohRemoveTxCall
public void testCohRemoveTxCall() throws Exception(Code)



testCohRemoveTxNo
public void testCohRemoveTxNo() throws Exception(Code)



testCohRemoveTxRb
public void testCohRemoveTxRb() throws Exception(Code)



testCohSetMultiTxCall
public void testCohSetMultiTxCall() throws Exception(Code)



testCohSetMultiTxCont
public void testCohSetMultiTxCont() throws Exception(Code)



testCohSetMultiTxNo
public void testCohSetMultiTxNo() throws Exception(Code)



testCohSetMultiTxRb
public void testCohSetMultiTxRb() throws Exception(Code)



testCohSetMultiVariousTxCall
public void testCohSetMultiVariousTxCall() throws Exception(Code)



testCohSetMultiVariousTxCont
public void testCohSetMultiVariousTxCont() throws Exception(Code)



testCohSetMultiVariousTxNo
public void testCohSetMultiVariousTxNo() throws Exception(Code)



testCohSetMultiVariousTxRb
public void testCohSetMultiVariousTxRb() throws Exception(Code)



testCohSetOneTxCall
public void testCohSetOneTxCall() throws Exception(Code)



testCohSetOneTxCont
public void testCohSetOneTxCont() throws Exception(Code)



testCohSetOneTxNo
public void testCohSetOneTxNo() throws Exception(Code)



testCohSetOneTxRb
public void testCohSetOneTxRb() throws Exception(Code)



testReadA
public void testReadA() throws Exception(Code)
read A, but not B



testRepeatedAssign
public void testRepeatedAssign() throws Exception(Code)



Fields inherited from org.objectweb.jonas.jtests.clients.entity.A_Cmp2Util
final static int TX_CALL(Code)(Java Doc)
final static int TX_CONT(Code)(Java Doc)
final static int TX_NO(Code)(Java Doc)
final static int TX_RB(Code)(Java Doc)

Methods inherited from org.objectweb.jonas.jtests.clients.entity.A_Cmp2Util
void checkIsInitialState() throws Exception(Code)(Java Doc)
public static int getIntAfterDash(String s)(Code)(Java Doc)
public static String getStringBeforeDash(String s)(Code)(Java Doc)
abstract boolean initStateOK() throws Exception(Code)(Java Doc)
static boolean isCollectionEqual(Collection c1, Collection c2)(Code)(Java Doc)
protected void setUp()(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.