You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by do...@apache.org on 2001/10/24 20:12:21 UTC

cvs commit: jakarta-turbine-2/conf/torque/templates/om Object.vm Peer.vm

dobbs       01/10/24 11:12:21

  Modified:    conf/torque/templates/om Object.vm Peer.vm
  Log:
  javadoc enhancement for generated om classes to reduce the "why are
  these methods protected?" noise on the mail lists. 8^)
  
  Revision  Changes    Path
  1.3       +8 -0      jakarta-turbine-2/conf/torque/templates/om/Object.vm
  
  Index: Object.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/conf/torque/templates/om/Object.vm,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Object.vm	2001/10/19 04:58:51	1.2
  +++ Object.vm	2001/10/24 18:12:21	1.3
  @@ -519,6 +519,10 @@
        * Otherwise if this $table.JavaName is new, it will return
        * an empty collection; or if this $table.JavaName has previously
        * been saved, it will retrieve related ${relCol} from storage.
  +     *
  +     * This method is protected by default in order to keep the public
  +     * api reasonable.  You can provide public methods for those you
  +     * actually need in ${table.JavaName}.
        */
       protected Vector get${relCol}Join${relCol2}(Criteria criteria) 
           throws Exception
  @@ -584,6 +588,10 @@
        * Otherwise if this $table.JavaName is new, it will return
        * an empty collection; or if this $table.JavaName has previously
        * been saved, it will retrieve related ${relCol} from storage.
  +     *
  +     * This method is protected by default in order to keep the public
  +     * api reasonable.  You can provide public methods for those you
  +     * actually need in ${table.JavaName}.
        */
       protected Vector get${relCol}JoinAllExcept${table.JavaName}(Criteria criteria) 
           throws Exception
  
  
  
  1.3       +8 -0      jakarta-turbine-2/conf/torque/templates/om/Peer.vm
  
  Index: Peer.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/conf/torque/templates/om/Peer.vm,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Peer.vm	2001/09/09 01:31:29	1.2
  +++ Peer.vm	2001/10/24 18:12:21	1.3
  @@ -1030,6 +1030,10 @@
      /**
       * selects a collection of $className objects pre-filled with their
       * $joinClassName objects.
  +    *
  +    * This method is protected by default in order to keep the public
  +    * api reasonable.  You can provide public methods for those you
  +    * actually need in ${table.JavaName}Peer.
       */
       protected static Vector doSelectJoin${joinColumnId}(Criteria c)
           throws Exception
  @@ -1178,6 +1182,10 @@
      /**
       * selects a collection of $className objects pre-filled with 
       * all related objects.
  +    *
  +    * This method is protected by default in order to keep the public
  +    * api reasonable.  You can provide public methods for those you
  +    * actually need in ${table.JavaName}Peer.
       */
       protected static Vector doSelectJoinAllExcept${excludeString}(Criteria c) 
           throws Exception
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org