Package com.ocs.dynamo.envers.domain
Class RevisionKey<ID>
- java.lang.Object
-
- com.ocs.dynamo.envers.domain.RevisionKey<ID>
-
- Type Parameters:
ID-
- All Implemented Interfaces:
Serializable
public class RevisionKey<ID> extends Object implements Serializable
Primary key object for versioned entities - key consists of the key of the original entity plus the revision number- Author:
- bas.rutten
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RevisionKey(ID id, int revision)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)IDgetId()intgetRevision()inthashCode()voidsetId(ID id)voidsetRevision(int revision)
-
-
-
Constructor Detail
-
RevisionKey
public RevisionKey(ID id, int revision)
Constructor- Parameters:
id- the ID of the original entityrevision- the revision number
-
-