org.hibernate.envers.internal.entities.mapper.ModifiedFlagMapperSupport Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-envers Show documentation
Show all versions of hibernate-envers Show documentation
Hibernate's entity version (audit/history) support
/*
* 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.internal.entities.mapper;
/**
* Contract for {@link PropertyMapper} implementations to expose whether they contain any property
* that uses {@link org.hibernate.envers.internal.entities.PropertyData#isUsingModifiedFlag()}.
*
* @author Chris Cranford
*/
public interface ModifiedFlagMapperSupport {
/**
* Returns whether the associated {@link PropertyMapper} has any properties that use
* the {@code witModifiedFlag} feature.
*
* @return {@code true} if a property uses {@code withModifiedFlag}, otherwise {@code false}.
*/
boolean hasPropertiesWithModifiedFlag();
}