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

org.hibernate.envers.boot.spi.ModifiedColumnNamingStrategy Maven / Gradle / Ivy

There is a newer version: 7.0.0.Beta1
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.boot.spi;

import org.hibernate.Incubating;
import org.hibernate.envers.configuration.internal.GlobalConfiguration;
import org.hibernate.envers.configuration.internal.metadata.reader.PropertyAuditingData;
import org.hibernate.mapping.Value;

import org.dom4j.Element;

/**
 * Defines a naming strategy for applying modified columns to the audited entity metamodel.
 *
 * @author Chris Cranford
 * @since 5.4.7
 */
@Incubating
public interface ModifiedColumnNamingStrategy {
	/**
	 * Adds modified columns to the audited entity metamodel.
	 *
	 * @param globalCfg the envers global configuration
	 * @param value the property value
	 * @param parent the parent audited entity metamodel
	 * @param propertyAuditingData the property auditing data
	 */
	void addModifiedColumns(
			GlobalConfiguration globalCfg,
			Value value,
			Element parent,
			PropertyAuditingData propertyAuditingData);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy