1 package org.apache.ojb.broker.accesslayer; 2 3 17 18 import org.apache.ojb.broker.metadata.ClassDescriptor; 19 20 import java.io.Serializable ; 21 import java.sql.ResultSet ; 22 import java.util.Map ; 23 24 27 public interface RowReader extends Serializable 28 { 29 static final long serialVersionUID = -1283322922537162249L; 36 public Object readObjectFrom(Map row); 37 38 43 public void refreshObject(Object instance, Map row); 44 45 46 50 public void readObjectArrayFrom(ResultSetAndStatement rs, Map row); 51 52 56 public void readPkValuesFrom(ResultSetAndStatement rs, Map row); 57 58 61 public void setClassDescriptor(ClassDescriptor cld); 62 63 66 public ClassDescriptor getClassDescriptor(); 67 } 68 | Popular Tags |