db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcai...@apache.org
Subject svn commit: r441687 - in /db/jdo/trunk/tck20/src/testdata/org/apache/jdo/tck/pc/companyMapWithoutJoin: ./ companyMapWithoutJoin.xml
Date Fri, 08 Sep 2006 23:22:38 GMT
Author: mcaisse
Date: Fri Sep  8 16:22:37 2006
New Revision: 441687

URL: http://svn.apache.org/viewvc?view=rev&rev=441687
Log:
JDO-193 More missing files

Added:
    db/jdo/trunk/tck20/src/testdata/org/apache/jdo/tck/pc/companyMapWithoutJoin/
    db/jdo/trunk/tck20/src/testdata/org/apache/jdo/tck/pc/companyMapWithoutJoin/companyMapWithoutJoin.xml

Added: db/jdo/trunk/tck20/src/testdata/org/apache/jdo/tck/pc/companyMapWithoutJoin/companyMapWithoutJoin.xml
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/testdata/org/apache/jdo/tck/pc/companyMapWithoutJoin/companyMapWithoutJoin.xml?view=auto&rev=441687
==============================================================================
--- db/jdo/trunk/tck20/src/testdata/org/apache/jdo/tck/pc/companyMapWithoutJoin/companyMapWithoutJoin.xml
(added)
+++ db/jdo/trunk/tck20/src/testdata/org/apache/jdo/tck/pc/companyMapWithoutJoin/companyMapWithoutJoin.xml
Fri Sep  8 16:22:37 2006
@@ -0,0 +1,151 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
+
+<beans>
+    <description>Company instances for CompletenessTest with Map without join table</description>
+
+    <bean id="root" class="java.util.ArrayList">
+        <constructor-arg index="0">
+            <list>
+                <ref local="company1"/>
+            </list>
+        </constructor-arg>
+    </bean>
+
+    <bean id="company1" factory-bean="companyFactory" factory-method="newCompany">
+        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
+        <constructor-arg index="1" type="java.lang.String"><value>Sun Microsystems,
Inc.</value></constructor-arg>
+        <constructor-arg index="2" type="java.util.Date"><value>11/Apr/1952</value></constructor-arg>
+        <property name="departments">
+            <set>
+                <ref local="dept1"/>
+                <ref local="dept2"/>
+            </set>
+        </property>
+    </bean>
+
+    <bean id="dept1" factory-bean="companyFactory" factory-method="newDepartment">
+        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
+        <constructor-arg index="1" type="java.lang.String" ><value>Development</value></constructor-arg>
+        <property name="company"><ref bean="company1"/></property>
+        <property name="roles">
+            <map>
+                <entry key="role1">
+                    <ref local="emp1"/>
+                </entry>
+                <entry key="role2">
+                    <ref local="emp2"/>
+                </entry>
+                <entry key="role3">
+                    <ref local="emp3"/>
+                </entry>
+            </map>
+        </property>
+    </bean>
+
+    <bean id="dept2" factory-bean="companyFactory" factory-method="newDepartment">
+        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
+        <constructor-arg index="1" type="java.lang.String" ><value>Human Resources</value></constructor-arg>
+        <property name="company"><ref bean="company1"/></property>
+        <property name="roles">
+            <map>
+                <entry key="role4">
+                    <ref local="emp4"/>
+                </entry>
+                <entry key="role5">
+                    <ref local="emp5"/>
+                </entry>
+            </map>
+        </property>
+    </bean>
+
+    <bean id="emp1" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
+        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
+        <constructor-arg index="1" type="java.lang.String"><value>emp1First</value></constructor-arg>
+        <constructor-arg index="2" type="java.lang.String"><value>emp1Last</value></constructor-arg>
+        <constructor-arg index="3" type="java.lang.String"><value>emp1Middle</value></constructor-arg>
+        <constructor-arg index="4" type="java.util.Date"><value>10/Jun/1970</value></constructor-arg>
+        <constructor-arg index="5" type="java.util.Date"><value>1/Jan/1999</value></constructor-arg>
+        <constructor-arg index="6" type="java.lang.String"><value>role1</value></constructor-arg>
+        <constructor-arg index="7" type="double"><value>60000</value></constructor-arg>
+        <property name="weeklyhours"><value>40</value></property>
+        <property name="department"><ref bean="dept1"/></property>
+        <property name="fundingDept"><ref bean="dept2"/></property>
+        <property name="manager"><ref bean="emp2"/></property>
+        <property name="hradvisor"><ref bean="emp5"/></property>
+    </bean>
+    <bean id="emp2" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
+        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
+        <constructor-arg index="1" type="java.lang.String"><value>emp2First</value></constructor-arg>
+        <constructor-arg index="2" type="java.lang.String"><value>emp2Last</value></constructor-arg>
+        <constructor-arg index="3" type="java.lang.String"><value>emp2Middle</value></constructor-arg>
+        <constructor-arg index="4" type="java.util.Date"><value>22/Dec/1975</value></constructor-arg>
+        <constructor-arg index="5" type="java.util.Date"><value>1/Jul/2003</value></constructor-arg>
+        <constructor-arg index="6" type="java.lang.String"><value>role2</value></constructor-arg>
+        <constructor-arg index="7" type="double"><value>47000</value></constructor-arg>
+        <property name="weeklyhours"><value>40</value></property>
+        <property name="department"><ref bean="dept1"/></property>
+        <property name="fundingDept"><ref bean="dept1"/></property>
+        <property name="hradvisor"><ref bean="emp5"/></property>
+        <property name="team">
+            <set>
+                <ref local="emp1"/>
+                <ref local="emp3"/>
+                <ref local="emp4"/>
+                <ref local="emp5"/>
+            </set>
+        </property>
+    </bean>
+    <bean id="emp3" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
+        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
+        <constructor-arg index="1" type="java.lang.String"><value>emp3First</value></constructor-arg>
+        <constructor-arg index="2" type="java.lang.String"><value>emp3Last</value></constructor-arg>
+        <constructor-arg index="3" type="java.lang.String"><value>emp3Middle</value></constructor-arg>
+        <constructor-arg index="4" type="java.util.Date"><value>5/Sep/1972</value></constructor-arg>
+        <constructor-arg index="5" type="java.util.Date"><value>15/Aug/2002</value></constructor-arg>
+        <constructor-arg index="6" type="java.lang.String"><value>role3</value></constructor-arg>
+        <constructor-arg index="7" type="double"><value>67.00</value></constructor-arg>
+        <property name="weeklyhours"><value>19</value></property>
+        <property name="department"><ref bean="dept1"/></property>
+        <property name="fundingDept"><ref bean="dept1"/></property>
+        <property name="manager"><ref bean="emp2"/></property>
+        <property name="hradvisor"><ref bean="emp5"/></property>
+    </bean>
+    <bean id="emp4" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
+        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
+        <constructor-arg index="1" type="java.lang.String"><value>emp4First</value></constructor-arg>
+        <constructor-arg index="2" type="java.lang.String"><value>emp4Last</value></constructor-arg>
+        <constructor-arg index="3" type="java.lang.String"><value>emp4Middle</value></constructor-arg>
+        <constructor-arg index="4" type="java.util.Date"><value>6/Sep/1973</value></constructor-arg>
+        <constructor-arg index="5" type="java.util.Date"><value>15/Apr/2001</value></constructor-arg>
+        <constructor-arg index="6" type="java.lang.String"><value>role4</value></constructor-arg>
+        <constructor-arg index="7" type="double"><value>37.00</value></constructor-arg>
+        <property name="department"><ref bean="dept2"/></property>
+        <property name="fundingDept"><ref bean="dept2"/></property>
+        <property name="manager"><ref bean="emp2"/></property>
+        <property name="hradvisor"><ref bean="emp5"/></property>
+    </bean>
+    <bean id="emp5" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
+        <constructor-arg index="0" type="long"><value>5</value></constructor-arg>
+        <constructor-arg index="1" type="java.lang.String"><value>emp5First</value></constructor-arg>
+        <constructor-arg index="2" type="java.lang.String"><value>emp5Last</value></constructor-arg>
+        <constructor-arg index="3" type="java.lang.String"><value>emp5Middle</value></constructor-arg>
+        <constructor-arg index="4" type="java.util.Date"><value>5/Jul/1962</value></constructor-arg>
+        <constructor-arg index="5" type="java.util.Date"><value>15/Aug/1998</value></constructor-arg>
+        <constructor-arg index="6" type="java.lang.String"><value>role5</value></constructor-arg>
+        <constructor-arg index="7" type="double"><value>73000</value></constructor-arg>
+        <property name="department"><ref bean="dept2"/></property>
+        <property name="fundingDept"><ref bean="dept2"/></property>
+        <property name="manager"><ref bean="emp2"/></property>
+        <property name="hradvisees">
+            <set>
+                <ref local="emp1"/>
+                <ref local="emp2"/>
+                <ref local="emp3"/>
+                <ref local="emp4"/>
+            </set>
+        </property>
+    </bean>
+
+</beans>
+



Mime
View raw message