User: ko5tik  
  Date: 02/04/16 09:59:43

  Modified:    src/java xdoclet-tags.xml
  Log:
  added stuff to xml descriptor
  
  Revision  Changes    Path
  1.10      +67 -7     xdocletgui/src/java/xdoclet-tags.xml
  
  Index: xdoclet-tags.xml
  ===================================================================
  RCS file: /cvsroot/xdoclet/xdocletgui/src/java/xdoclet-tags.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -w -r1.9 -r1.10
  --- xdoclet-tags.xml  16 Apr 2002 10:38:57 -0000      1.9
  +++ xdoclet-tags.xml  16 Apr 2002 16:59:42 -0000      1.10
  @@ -20,6 +20,28 @@
         </condition>  
         <tags>
            <tag>
  +     <name>ejb:aggregate</name>
  +     <usage-description>
  +           Mark a persistent field containing a reference to another entity bean as 
being
  +           aggregated in this bean. The data object will contain accessor methods 
for the
  +           aggregated entity's data object instead of a reference to the entity 
itself. The
  +           aggregated entity will also be removed when this entity is removed. For
  +           example, aggregates are useful for sending graphs of data to the client. 
This is
  +           only applicable to entity beans and has no parameters.
  +        </usage-description>
  +     <unique>true</unique>
  +     <condition-description>Entity bean methods</condition-description>
  +     <condition type="and">
  +       <condition type="method">
  +       </condition>
  +       <condition type="or">
  +       <condition type="type">
  +         <condition-parameter>javax.ejb.EntityBean</condition-parameter>
  +       </condition>
  +       </condition>
  +     </condition>
  +       </tag>
  +         <tag>
               <name>ejb:bean</name>
               <usage-description>
               The ejb:bean tag provides information about the EJB. It is the one 
compulsory 
  @@ -532,23 +554,61 @@
               </parameter>
            </tag>
            <tag>
  -            <name>ejb:relation</name>
  +     <name>ejb:create-method</name>
               <usage-description>
  -            Defines a relationship between Entity beans. Applicable only to EJB2.0 
CMP2.x beans.
  -            </usage-description>
  +The method is an ejbCreate method and will be included in the home
  +interface. It is applicable to Session and Entity beans. In Stateless Session
  +beans the ejbCreate will be created if it is not in the code.
  +        </usage-description>
  +     <condition-description>
  +Applicable to session and entity beans method has to be called ejbCreate
  +        </condition-description>
  +     <condition type="and">
  +       <condition type="method"/>
  +       <condition type="or">
  +         <condition type="type">
  +             <condition-parameter>javax.ejb.EntityBean</condition-parameter>
  +         </condition>
  +         <condition type="type">
  +             <condition-parameter>javax.ejb.SessionBean</condition-parameter>
  +         </condition>
  +        </condition>
  +     </condition>
               <parameter type="text">
  -               <name>name</name>
  +       <name>view-type</name>
                  <usage-description>
  -               Name of the relation. For bidirectional relationships, specify the 
same name on both sides.
  +             Optionally specify which view-type the method will be exposed in.
  +          </usage-description>
  +       <mandatory>false</mandatory>
  +       <option-sets>
  +         <option-set>
  +           <options>
  +             <option>local</option>
  +             <option>remote</option>
  +           </options>
  +         </option-set>
  +       </option-sets>
  +     </parameter>
  +      </tag>
  +         <tag>
  +            <name>ejb:relation</name>
  +            <usage-description>
  +            Defines a relationship between Entity beans. Applicable only to EJB2.0 
CMP2.x beans.
                  </usage-description>
  -               <mandatory>true</mandatory>
                  <condition-description>EJB2.0 CMP2.x beans</condition-description>
                  <condition type="and">
  -                  <condition type="method"/>
  +       <condition type="method">
  +       </condition>
                     <condition type="type">
                        <condition-parameter>javax.ejb.EntityBean</condition-parameter>
                     </condition>
                  </condition>
  +            <parameter type="text">
  +               <name>name</name>
  +               <usage-description>
  +               Name of the relation. For bidirectional relationships, specify the 
same name on both sides.
  +               </usage-description>
  +               <mandatory>true</mandatory>
               </parameter>
            </tag>
         <tag>
  
  
  

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to