Package org.hibernate.envers
Class DefaultRevisionEntity
- java.lang.Object
-
- org.hibernate.envers.DefaultRevisionEntity
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
DefaultTrackingModifiedEntitiesRevisionEntity
@MappedSuperclass public class DefaultRevisionEntity extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultRevisionEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)intgetId()java.util.DategetRevisionDate()longgetTimestamp()inthashCode()voidsetId(int id)voidsetTimestamp(long timestamp)java.lang.StringtoString()
-
-
-
Method Detail
-
getId
public int getId()
-
setId
public void setId(int id)
-
getRevisionDate
public java.util.Date getRevisionDate()
-
getTimestamp
public long getTimestamp()
-
setTimestamp
public void setTimestamp(long timestamp)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-