<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">

<ejb-jar >

   <description><![CDATA[No Description.]]></description>
   <display-name>Generated by XDoclet</display-name>

   <enterprise-beans>

      <!-- Session Beans -->
     <!--
       To add session beans that you have deployment descriptor info for, add
       a file to your XDoclet merge directory called session-beans.xml that contains
       the <session></session> markup for those beans.
     -->

      <!-- Entity Beans -->
      <entity >
         <description><![CDATA[The problem child.]]></description>

         <ejb-name>Child</ejb-name>

         <local-home>org.jboss.test.cmp2.cmrstress.interfaces.ChildLocalHome</local-home>
         <local>org.jboss.test.cmp2.cmrstress.interfaces.ChildLocal</local>

         <ejb-class>org.jboss.test.cmp2.cmrstress.ejb.ChildBean</ejb-class>
         <persistence-type>Container</persistence-type>
         <prim-key-class>java.lang.String</prim-key-class>
         <reentrant>False</reentrant>
         <cmp-version>2.x</cmp-version>
         <abstract-schema-name>Child</abstract-schema-name>
         <cmp-field >
            <description><![CDATA[CMP get method for Id attribute.]]></description>
            <field-name>id</field-name>
         </cmp-field>
         <cmp-field >
            <description><![CDATA[CMP get method for Name attribute.]]></description>
            <field-name>name</field-name>
         </cmp-field>
         <cmp-field >
            <description><![CDATA[CMP get method for Value attribute.]]></description>
            <field-name>value</field-name>
         </cmp-field>
         <primkey-field>id</primkey-field>

	  <!-- Write a file named ejb-finders-ChildBean.xml if you want to define extra finders. -->
      </entity>

      <entity >
         <description><![CDATA[This class implements the "parent" side of 1..many unidirectional relationship.]]></description>

         <ejb-name>Parent</ejb-name>

         <home>org.jboss.test.cmp2.cmrstress.interfaces.ParentHome</home>
         <remote>org.jboss.test.cmp2.cmrstress.interfaces.Parent</remote>
         <local-home>org.jboss.test.cmp2.cmrstress.interfaces.ParentLocalHome</local-home>
         <local>org.jboss.test.cmp2.cmrstress.interfaces.ParentLocal</local>

         <ejb-class>org.jboss.test.cmp2.cmrstress.ejb.ParentBean</ejb-class>
         <persistence-type>Container</persistence-type>
         <prim-key-class>java.lang.String</prim-key-class>
         <reentrant>False</reentrant>
         <cmp-version>2.x</cmp-version>
         <abstract-schema-name>Parent</abstract-schema-name>
         <cmp-field >
            <description><![CDATA[CMP get method for Id attribute.]]></description>
            <field-name>id</field-name>
         </cmp-field>
         <primkey-field>id</primkey-field>

         <ejb-local-ref >
            <ejb-ref-name>ejb/Child</ejb-ref-name>
            <ejb-ref-type>Entity</ejb-ref-type>
            <local-home>org.jboss.test.cmp2.cmrstress.interfaces.ChildLocalHome</local-home>
            <local>org.jboss.test.cmp2.cmrstress.interfaces.ChildLocal</local>
            <ejb-link>Child</ejb-link>
         </ejb-local-ref>

	  <!-- Write a file named ejb-finders-ParentBean.xml if you want to define extra finders. -->
      </entity>

     <!--
       To add entity beans that you have deployment descriptor info for, add
       a file to your XDoclet merge directory called entity-beans.xml that contains
       the <entity></entity> markup for those beans.
     -->

      <!-- Message Driven Beans -->
     <!--
       To add message driven beans that you have deployment descriptor info for, add
       a file to your XDoclet merge directory called message-driven-beans.xml that contains
       the <message-driven></message-driven> markup for those beans.
     -->

   </enterprise-beans>

   <!-- Relationships -->
   <relationships >
      <ejb-relation >
         <ejb-relation-name>Parent-Child</ejb-relation-name>

         <ejb-relationship-role >
            <ejb-relationship-role-name>Parent-has-Children</ejb-relationship-role-name>
            <multiplicity>One</multiplicity>
            <relationship-role-source >
               <ejb-name>Parent</ejb-name>
            </relationship-role-source>
            <cmr-field >
               <cmr-field-name>children</cmr-field-name>
               <cmr-field-type>java.util.Set</cmr-field-type>
            </cmr-field>
         </ejb-relationship-role>

         <ejb-relationship-role >
            <ejb-relationship-role-name>Child-of-Parent</ejb-relationship-role-name>
            <multiplicity>Many</multiplicity>
            <cascade-delete/>
            <relationship-role-source >
               <ejb-name>Child</ejb-name>
            </relationship-role-source>
         </ejb-relationship-role>

      </ejb-relation>
   </relationships>

   <!-- Assembly Descriptor -->
   <assembly-descriptor >
     <!--
       To add additional assembly descriptor info here, add a file to your
       XDoclet merge directory called assembly-descriptor.xml that contains
       the <assembly-descriptor></assembly-descriptor> markup.
     -->

   <!-- finder permissions -->

   <!-- finder permissions -->

   <!-- transactions -->
   <container-transaction >
      <method >
         <ejb-name>Child</ejb-name>
          <method-name>*</method-name>
       </method>
       <trans-attribute>Supports</trans-attribute>
    </container-transaction>
   <container-transaction >
      <method >
         <ejb-name>Child</ejb-name>
         <method-intf>Local</method-intf>
         <method-name>setId</method-name>
         <method-params>
            <method-param>java.lang.String</method-param>
         </method-params>
      </method>
      <trans-attribute>Mandatory</trans-attribute>
   </container-transaction>
   <container-transaction >
      <method >
         <ejb-name>Child</ejb-name>
         <method-intf>Local</method-intf>
         <method-name>setName</method-name>
         <method-params>
            <method-param>java.lang.String</method-param>
         </method-params>
      </method>
      <trans-attribute>Mandatory</trans-attribute>
   </container-transaction>
   <container-transaction >
      <method >
         <ejb-name>Child</ejb-name>
         <method-intf>Local</method-intf>
         <method-name>setValue</method-name>
         <method-params>
            <method-param>java.lang.String</method-param>
         </method-params>
      </method>
      <trans-attribute>Mandatory</trans-attribute>
   </container-transaction>
   <container-transaction >
      <method >
         <ejb-name>Child</ejb-name>
         <method-intf>LocalHome</method-intf>
         <method-name>create</method-name>
         <method-params>
            <method-param>java.lang.String</method-param>
            <method-param>java.lang.String</method-param>
            <method-param>java.lang.String</method-param>
         </method-params>
      </method>
      <trans-attribute>Mandatory</trans-attribute>
   </container-transaction>
   <container-transaction >
      <method >
         <ejb-name>Child</ejb-name>
         <method-intf>Home</method-intf>
         <method-name>create</method-name>
         <method-params>
            <method-param>java.lang.String</method-param>
            <method-param>java.lang.String</method-param>
            <method-param>java.lang.String</method-param>
         </method-params>
      </method>
      <trans-attribute>Mandatory</trans-attribute>
   </container-transaction>
   <container-transaction >
      <method >
         <ejb-name>Parent</ejb-name>
          <method-name>*</method-name>
       </method>
       <trans-attribute>Supports</trans-attribute>
    </container-transaction>
   <container-transaction >
      <method >
         <ejb-name>Parent</ejb-name>
         <method-intf>Remote</method-intf>
         <method-name>setId</method-name>
         <method-params>
            <method-param>java.lang.String</method-param>
         </method-params>
      </method>
      <trans-attribute>Mandatory</trans-attribute>
   </container-transaction>
   <container-transaction >
      <method >
         <ejb-name>Parent</ejb-name>
         <method-intf>Remote</method-intf>
         <method-name>setChildren</method-name>
         <method-params>
            <method-param>java.util.Set</method-param>
         </method-params>
      </method>
      <trans-attribute>Mandatory</trans-attribute>
   </container-transaction>
   <container-transaction >
      <method >
         <ejb-name>Parent</ejb-name>
         <method-intf>Remote</method-intf>
         <method-name>getPropertyMap</method-name>
         <method-params>
         </method-params>
      </method>
      <trans-attribute>Required</trans-attribute>
   </container-transaction>
   <container-transaction >
      <method >
         <ejb-name>Parent</ejb-name>
         <method-intf>Remote</method-intf>
         <method-name>addChild</method-name>
         <method-params>
            <method-param>int</method-param>
            <method-param>java.lang.String</method-param>
            <method-param>java.lang.String</method-param>
         </method-params>
      </method>
      <trans-attribute>RequiresNew</trans-attribute>
   </container-transaction>
   <container-transaction >
      <method >
         <ejb-name>Parent</ejb-name>
         <method-intf>LocalHome</method-intf>
         <method-name>create</method-name>
         <method-params>
            <method-param>java.lang.String</method-param>
         </method-params>
      </method>
      <trans-attribute>RequiresNew</trans-attribute>
   </container-transaction>
   <container-transaction >
      <method >
         <ejb-name>Parent</ejb-name>
         <method-intf>Home</method-intf>
         <method-name>create</method-name>
         <method-params>
            <method-param>java.lang.String</method-param>
         </method-params>
      </method>
      <trans-attribute>RequiresNew</trans-attribute>
   </container-transaction>

   <!-- finder transactions -->
   </assembly-descriptor>

</ejb-jar>
