db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/xdoclet/test/xdoclet/modules/ojb/tests TestRowReader.java
Date Thu, 06 Oct 2005 22:04:57 GMT
arminw      2005/10/06 15:04:57

  Modified:    src/xdoclet/test/xdoclet/modules/ojb/tests Tag:
                        OJB_1_0_RELEASE TestRowReader.java
  Log:
  RowReader interface has changed
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.3.2.1   +8 -7      db-ojb/src/xdoclet/test/xdoclet/modules/ojb/tests/TestRowReader.java
  
  Index: TestRowReader.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/xdoclet/test/xdoclet/modules/ojb/tests/TestRowReader.java,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- TestRowReader.java	5 Apr 2004 12:16:16 -0000	1.3
  +++ TestRowReader.java	6 Oct 2005 22:04:57 -0000	1.3.2.1
  @@ -19,6 +19,7 @@
   import java.util.Map;
   
   import org.apache.ojb.broker.accesslayer.RowReader;
  +import org.apache.ojb.broker.accesslayer.ResultSetAndStatement;
   import org.apache.ojb.broker.metadata.ClassDescriptor;
   
   /**
  @@ -26,29 +27,29 @@
    */
   public class TestRowReader implements RowReader
   {
  -    public ClassDescriptor getClassDescriptor()
  +    public Object readObjectFrom(Map row)
       {
           return null;
       }
   
  -    public void readObjectArrayFrom(ResultSet rs, Map row)
  +    public void refreshObject(Object instance, Map row)
       {
       }
   
  -    public Object readObjectFrom(Map row)
  +    public void readObjectArrayFrom(ResultSetAndStatement rs, Map row)
       {
  -        return null;
       }
   
  -    public void readPkValuesFrom(ResultSet rs, Map row)
  +    public void readPkValuesFrom(ResultSetAndStatement rs, Map row)
       {
       }
   
  -    public void refreshObject(Object instance, Map row)
  +    public void setClassDescriptor(ClassDescriptor cld)
       {
       }
   
  -    public void setClassDescriptor(ClassDescriptor cld)
  +    public ClassDescriptor getClassDescriptor()
       {
  +        return null;
       }
   }
  
  
  

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


Mime
View raw message