org.hibernate.envers.query.property
Class OriginalIdPropertyName

java.lang.Object
  extended by 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


Constructor Summary
OriginalIdPropertyName(String idPropertyName)
           
 
Method Summary
 String get(AuditConfiguration auditCfg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OriginalIdPropertyName

public OriginalIdPropertyName(String idPropertyName)
Method Detail

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.