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

org.hibernate.envers.configuration.metadata.reader.AuditedPropertiesHolder Maven / Gradle / Ivy

package org.hibernate.envers.configuration.metadata.reader;


/**
 * Implementations hold other audited properties.
 * @author Adam Warski (adam at warski dot org)
 * @author Hern&aacut;n Chanfreau
 */
public interface AuditedPropertiesHolder {
	/**
	 * Add an audited property.
	 * @param propertyName Name of the audited property.
	 * @param auditingData Data for the audited property.
	 */
	void addPropertyAuditingData(String propertyName, PropertyAuditingData auditingData);

	/**
	 * @param propertyName Name of a property.
	 * @return Auditing data for the property.
	 */
	PropertyAuditingData getPropertyAuditingData(String propertyName);
	
	
	/**
	 * @return true if the holder contains any audited property
	 */
	boolean isEmpty();
	
	/**
	 * @return true if the holder contains the given audited property
	 */
	boolean contains(String propertyName);
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy