User: ko5tik  
  Date: 02/04/18 09:23:05

  Modified:    src/java xdoclet-tags.dtd xdoclet-tags.xml
  Log:
  added ejb:persistence & new condition which evaluates
  nested ocndition for class owning program element
  
  Revision  Changes    Path
  1.11      +1 -1      xdocletgui/src/java/xdoclet-tags.dtd
  
  Index: xdoclet-tags.dtd
  ===================================================================
  RCS file: /cvsroot/xdoclet/xdocletgui/src/java/xdoclet-tags.dtd,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -w -r1.10 -r1.11
  --- xdoclet-tags.dtd  18 Apr 2002 14:31:48 -0000      1.10
  +++ xdoclet-tags.dtd  18 Apr 2002 16:23:05 -0000      1.11
  @@ -17,7 +17,7 @@
   xtags.ConditionFactory
   -->
   <!ATTLIST condition
  -     type (and | class | method | or | not | tag-param | type | name | abstract | 
public | final | static | starts-with) #REQUIRED
  +     type (and | class | method | or | not | tag-param | type | name | abstract | 
public | final | static | starts-with | owner ) #REQUIRED
   >
   
   
  
  
  
  1.15      +127 -0    xdocletgui/src/java/xdoclet-tags.xml
  
  Index: xdoclet-tags.xml
  ===================================================================
  RCS file: /cvsroot/xdoclet/xdocletgui/src/java/xdoclet-tags.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -w -r1.14 -r1.15
  --- xdoclet-tags.xml  18 Apr 2002 15:29:18 -0000      1.14
  +++ xdoclet-tags.xml  18 Apr 2002 16:23:05 -0000      1.15
  @@ -1310,6 +1310,133 @@
        </parameter>
         </tag>
         <tag>
  +     <name>ejb:persistence</name>
  +     <usage-description>
  +          The @ejb:persistence tag provides information about the persistence
  +          of an CMP Entity bean
  +        </usage-description>
  +     <unique>true</unique>
  +     <condition-description>CMP entity bean</condition-description>
  +     <condition type="and">
  +       <condition type="class">
  +       </condition>
  +       <condition type="type">
  +         <condition-parameter>javax.ejb.EntityBean</condition-parameter>
  +       </condition>
  +       <condition type="tag-param">
  +         <condition-parameter>ejb:bean</condition-parameter>
  +         <condition-parameter>type</condition-parameter>
  +         <condition-parameter>CMP</condition-parameter>
  +       </condition>
  +     </condition>
  +     <parameter type="text">
  +       <name>table-name</name>
  +       <usage-description>
  +            Declare the table-name to which the CMP will
  +            be mapped.
  +          </usage-description>
  +       <mandatory>true</mandatory>
  +     </parameter>
  +      </tag>
  +      <tag>
  +     <name>ejb:persistence</name>
  +     <usage-description>
  +         The @ejb:persistence tag provides information about the persistence
  +         of an CMP Entity bean's fields.
  +        </usage-description>
  +     <unique>true</unique>
  +     <condition-description>
  +          EJB entity bean fields. On the persistent fields getter methods
  +        </condition-description>
  +     <condition type="and">
  +       <condition type="method">
  +       </condition>
  +       <condition type="type">
  +         <condition-parameter>javax.ejb.EntityBean</condition-parameter>
  +       </condition>
  +       <condition type="owner">
  +         <condition type="tag-param">
  +           <condition-parameter>ejb:bean</condition-parameter>
  +           <condition-parameter>type</condition-parameter>
  +           <condition-parameter>CMP</condition-parameter>
  +         </condition>
  +       </condition>
  +       <condition type="public">
  +       </condition>
  +       <condition type="abstract">
  +       </condition>
  +       <condition type="starts-with">
  +         <condition-parameter>get</condition-parameter>
  +       </condition>
  +     </condition>
  +     <parameter type="text">
  +       <name>column-name</name>
  +       <usage-description>
  +           Declare the column-name to which the CMP
  +           field will be mapped.
  +          </usage-description>
  +       <mandatory>true</mandatory>
  +     </parameter>
  +     <parameter type="text">
  +       <name>jdbc-type</name>
  +       <usage-description>
  +              Declare the JDBC Type. Its value must be one
  +              of the fields of java.sql.Types (e.g. BIT,
  +              CHAR...). This jdbc type will be used by the
  +              CMP provider to determine which method to
  +              call on PreparedStatement and ResultSet for
  +              INSERT / UPDATE / SELECT queries. 
  +          </usage-description>
  +       <mandatory>false</mandatory>
  +       <option-sets>
  +         <option-set>
  +           <default>VARCHAR</default>
  +           <options>
  +             <option>ARRAY</option>
  +             <option>BIGINT</option>
  +             <option>BINARY</option>
  +             <option>BIT</option>
  +             <option>BLOB</option>
  +             <option>BOOLEAN</option>
  +             <option>CHAR</option>
  +             <option>CLOB</option>
  +             <option>DATALINK</option>
  +             <option>DATE</option>
  +             <option>DECIMAL</option>
  +             <option>DISTINCT</option>
  +             <option>DOUBLE</option>
  +             <option>FLOAT</option>
  +             <option>INTEGER</option>
  +             <option>JAVA_OBJECT</option>
  +             <option>LONGVARBINARY</option>
  +             <option>LONGVARCHAR</option>
  +             <option>NULL</option>
  +             <option>NUMERIC</option>
  +             <option>OTHER</option>
  +             <option>REAL</option>
  +             <option>REF</option>
  +             <option>SMALLINT</option>
  +             <option>STRUCT</option>
  +             <option>TIME</option>
  +             <option>TIMESTAMP</option>
  +             <option>TINYINT</option>
  +             <option>VARBINARY</option>
  +             <option>VARCHAR</option>
  +           </options>
  +         </option-set>
  +       </option-sets>
  +     </parameter>
  +     <parameter type="text">
  +       <name>sql-type</name>
  +       <usage-description>
  +           Declare the actual type of the field in the
  +           database. This value will only be used when te
  +           CMP container creates your table (if possible).
  +          </usage-description>
  +       <mandatory>false</mandatory>
  +     </parameter>
  +      </tag>
  +      <tag>
        <name>ejb:persistent-field</name>
        <usage-description>
   Use this for methods with the following patterns:
  
  
  

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

Reply via email to