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

org.hibernate.envers.strategy.spi.AuditStrategyContext Maven / Gradle / Ivy

There is a newer version: 7.0.0.Beta2
Show newest version
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.envers.strategy.spi;

import org.hibernate.Incubating;
import org.hibernate.property.access.spi.Getter;

/**
 * A contract to initialize an {@link AuditStrategy}
 *
 * @author Chris Cranford
 */
@Incubating
public interface AuditStrategyContext {
	/**
	 * Get the revision entity class name
	 * @return the class name of the revision entity
	 */
	Class getRevisionInfoClass();

	/**
	 * Get the revision info timestamp accessor
	 * @return the getter for the timestamp attribute on the revision entity
	 */
	Getter getRevisionInfoTimestampAccessor();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy