org.hibernate.envers.test.entities.reventity.trackmodifiedentities
Class AnnotatedTrackingRevisionEntity

java.lang.Object
  extended by org.hibernate.envers.test.entities.reventity.trackmodifiedentities.AnnotatedTrackingRevisionEntity

@Entity
public class AnnotatedTrackingRevisionEntity
extends Object

Sample revision entity that uses ModifiedEntityNames annotation.


Constructor Summary
AnnotatedTrackingRevisionEntity()
           
 
Method Summary
 boolean equals(Object o)
           
 int getCustomId()
           
 long getCustomTimestamp()
           
 Set<String> getEntityNames()
           
 int hashCode()
           
 void setCustomId(int customId)
           
 void setCustomTimestamp(long customTimestamp)
           
 void setEntityNames(Set<String> entityNames)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotatedTrackingRevisionEntity

public AnnotatedTrackingRevisionEntity()
Method Detail

getCustomId

public int getCustomId()

setCustomId

public void setCustomId(int customId)

getCustomTimestamp

public long getCustomTimestamp()

setCustomTimestamp

public void setCustomTimestamp(long customTimestamp)

getEntityNames

public Set<String> getEntityNames()

setEntityNames

public void setEntityNames(Set<String> entityNames)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.