Update of /cvsroot/xdoclet/xdoclet/modules/mockobjects/sample/sample/example
In directory 
sc8-pr-cvs1:/tmp/cvs-serv31564/xdoclet/modules/mockobjects/sample/sample/example

Modified Files:
        Database.java 
Log Message:
Introduced a new Interface in XJavaDoc: xjavadoc.Type. This interface provides about 
the XClass AND the dimension.

Index: Database.java
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/modules/mockobjects/sample/sample/example/Database.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** Database.java       6 Feb 2003 01:46:10 -0000       1.1.1.1
--- Database.java       20 Mar 2003 22:36:02 -0000      1.2
***************
*** 2,23 ****
  
  /**
!  * @mock:generate
   */
! public interface Database {
  
        /**
         * Start a transaction.
         */
!       void start();
  
        /**
         * Commit a transaction.
         */
!       void commit();
  
        /**
         * Rollback a transaction.
         */
!       void rollback();
  
        /**
--- 2,24 ----
  
  /**
!  * @mock.generate
   */
! public abstract class Database {
  
        /**
         * Start a transaction.
         */
!       void start() {
!       }
  
        /**
         * Commit a transaction.
         */
!       void commit() {}
  
        /**
         * Rollback a transaction.
         */
!       void rollback(){}
  
        /**
***************
*** 25,29 ****
         * @throws IllegalArgumentException thrown if invalid SQL supplie.
         */
!       void execute( String sql ) throws IllegalArgumentException;
  
        /**
--- 26,30 ----
         * @throws IllegalArgumentException thrown if invalid SQL supplie.
         */
!       void execute( String sql ) throws IllegalArgumentException{}
  
        /**
***************
*** 31,35 ****
         * @throws IllegalArgumentException thrown if invalid SQL supplie.
         */
!       Rows select( String sql ) throws IllegalArgumentException;
  
  }
--- 32,36 ----
         * @throws IllegalArgumentException thrown if invalid SQL supplie.
         */
!       Rows select( String sql ) throws IllegalArgumentException{ return null; }
  
  }



-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to