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 21:44:38 UTC

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

dobbs       01/10/24 12:44:38

  Modified:    src/templates/om Object.vm Peer.vm
  Log:
  javadoc enhancement for generated om objects to reduce the "why
  is this method protected?" noise on the mail lists 8^).
  
  Revision  Changes    Path
  1.9       +8 -0      jakarta-turbine-torque/src/templates/om/Object.vm
  
  Index: Object.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-torque/src/templates/om/Object.vm,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Object.vm	2001/10/24 01:19:55	1.8
  +++ Object.vm	2001/10/24 19:44:38	1.9
  @@ -505,6 +505,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
  @@ -559,6 +563,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.6       +8 -0      jakarta-turbine-torque/src/templates/om/Peer.vm
  
  Index: Peer.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-torque/src/templates/om/Peer.vm,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Peer.vm	2001/10/20 18:27:19	1.5
  +++ Peer.vm	2001/10/24 19:44:38	1.6
  @@ -917,6 +917,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
  @@ -1069,6 +1073,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