All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jpattern.orm.generator.IOrmPersistor Maven / Gradle / Ivy

There is a newer version: 3.5.1
Show newest version
package com.jpattern.orm.generator;

import java.sql.ResultSet;

/**
 * @author Francesco Cina
 *
 * 22/mag/2011
 * 
 * The bytecode of classes that implement this interface is generated at runtime using cojen
 * 
 */
public interface IOrmPersistor  {

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

	Object[] allValues(T entity);

	Object[] allNotGeneratedValues(T entity);

	Object[] primaryKeyValues(T entity);

	Object[] notPrimaryKeyValues(T entity);

	Object[] primaryKeyAndVersionValues(T entity);

	void increaseVersion(T entity, boolean firstVersionNumber);

	void updateGeneratedValues(ResultSet rs, T entity);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy