org.hibernate.envers.query.property
Class OriginalIdPropertyName
java.lang.Object
org.hibernate.envers.query.property.OriginalIdPropertyName
- All Implemented Interfaces:
- PropertyNameGetter
public class OriginalIdPropertyName
- extends Object
- implements PropertyNameGetter
Used for specifying restrictions on the identifier.
TODO: idPropertyName should be read basing on auditCfg + entityName
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OriginalIdPropertyName
public OriginalIdPropertyName(String idPropertyName)
get
public String get(AuditConfiguration auditCfg)
- Specified by:
get
in interface PropertyNameGetter
- Parameters:
auditCfg
- Audit configuration.
- Returns:
- Name of the property, to be used in a query.
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.