<?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 >

   <![CDATA[blah]]>
   <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  markup for those beans.
     -->

      <!-- Entity Beans -->
      
         <![CDATA[]]>

         <ejb-name>RuleSet</ejb-name>

         <local-home>com.stalworth.dqrules.cmp.RuleSetLocalHome</local-home>
         com.stalworth.dqrules.cmp.RuleSetLocal

         <ejb-class>com.stalworth.dqrules.cmp.RuleSetCMP</ejb-class>
         <persistence-type>Container</persistence-type>
         <prim-key-class>java.lang.String</prim-key-class>
         False
         <cmp-version>2.x</cmp-version>
         <abstract-schema-name>RuleSetSchema</abstract-schema-name>
         <cmp-field >
            <![CDATA[]]>
            <field-name>id</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>name</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>description</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>application</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>applicationName</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>createdDate</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>status</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>type</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>forType</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>forTypeDefault</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>screenName</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>profanityFilter</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>duplicateType</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>dupDataObjectId</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>dupDataObjectName</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>commitType</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>createdById</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>createdByName</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>modifiedDate</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>modifiedById</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>modifiedByName</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>auditLevel</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>debuggable</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>scope</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>parentId</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>parentName</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>superId</field-name>
         </cmp-field>
         <cmp-field >
            <![CDATA[]]>
            <field-name>superName</field-name>
         </cmp-field>
         <primkey-field>id</primkey-field>

         
            <query-method>
               <method-name>findAllInstances</method-name>
               <method-params>
               </method-params>
            </query-method>
            <result-type-mapping>Local</result-type-mapping>
            <ejb-ql><![CDATA[SELECT OBJECT(o) FROM RuleSetSchema AS o]]></ejb-ql>
         
         
            <query-method>
               <method-name>findByName</method-name>
               <method-params>
                  <method-param>java.lang.String</method-param>
               </method-params>
            </query-method>
            <result-type-mapping>Local</result-type-mapping>
            <ejb-ql><![CDATA[SELECT OBJECT(o) FROM RuleSetSchema AS o WHERE o.name = 
?1]]></ejb-ql>
         
          <!-- Write a file named ejb-finders-RuleSetEJB.xml if you want to define 
extra finders. -->
      

     <!--
       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  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 -->
   
      <ejb-relation >
         <ejb-relation-name>RuleSet-RuleSet</ejb-relation-name>

         <ejb-relationship-role >
            
<ejb-relationship-role-name>SubsetIsAPartOfRuleSet</ejb-relationship-role-name>
            Many
            <cascade-delete/>
            <relationship-role-source >
               <ejb-name>RuleSet</ejb-name>
            </relationship-role-source>
            <cmr-field >
               <cmr-field-name>parent</cmr-field-name>
            </cmr-field>
         </ejb-relationship-role>

         <ejb-relationship-role >
            <ejb-relationship-role-name>RuleSetHasSubsets</ejb-relationship-role-name>
            One
            <relationship-role-source >
               <ejb-name>RuleSet</ejb-name>
            </relationship-role-source>
            <cmr-field >
               <cmr-field-name>subSets</cmr-field-name>
               <cmr-field-type>java.util.Set</cmr-field-type>
            </cmr-field>
         </ejb-relationship-role>

      </ejb-relation>
   

   <!-- 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 -->

   <!-- transactions -->
   <container-transaction >
      
         <ejb-name>RuleSet</ejb-name>
          <method-name>*</method-name>
       
       <trans-attribute>Supports</trans-attribute>
    </container-transaction>

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

   <ejb-client-jar>dqrulescmp_client.jar</ejb-client-jar>

</ejb-jar>


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838584#3838584

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838584


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to