/* * 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 <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.envers.configuration.internal.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); }