com.googlecode.jpattern.orm
Interface IOrmPersistor<T>


public interface IOrmPersistor<T>

Author:
Francesco Cina 22/mag/2011 The bytecode of classes implementing this interface is generated at runtime using asm

Method Summary
 Object[] allNotGeneratedValues(T entity)
           
 Object[] allValues(T entity)
           
 T mapRow(String rowNamePrefix, ResultSet rs, int rowNum)
           
 Object[] notPrimaryKeyValues(T entity)
           
 Object[] primaryKeyValues(T entity)
           
 void updatePrimaryKey(ResultSet rs, T entity)
           
 

Method Detail

mapRow

T mapRow(String rowNamePrefix,
         ResultSet rs,
         int rowNum)

allValues

Object[] allValues(T entity)

allNotGeneratedValues

Object[] allNotGeneratedValues(T entity)

primaryKeyValues

Object[] primaryKeyValues(T entity)

notPrimaryKeyValues

Object[] notPrimaryKeyValues(T entity)

updatePrimaryKey

void updatePrimaryKey(ResultSet rs,
                      T entity)


Copyright © 2011. All Rights Reserved.