org.hibernate.envers.query.internal.property.PropertyNameGetter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
Hibernate's core ORM functionality
/*
* 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.query.internal.property;
import org.hibernate.envers.boot.AuditService;
/**
* Provides a function to get the name of a property, which is used in a query, to apply some restrictions on it.
*
* @author Adam Warski (adam at warski dot org)
* @author Chris Cranford
*/
public interface PropertyNameGetter {
/**
* @param auditService The audit service
*
* @return Name of the property, to be used in a query.
*/
String get(AuditService auditService);
}