Package org.projectbarbel.histo.model
Class BitemporalVersion
- java.lang.Object
-
- org.projectbarbel.histo.model.BitemporalVersion
-
- All Implemented Interfaces:
Bitemporal
public class BitemporalVersion extends Object implements Bitemporal
Class used byBarbelHisto
inBarbelMode.POJO
to persist data to persistent storage. Can also be used inBarbelMode.BITEMPORAL
asBitemporal
container for arbitrary business classes that should be managed beBarbelHisto
.- Author:
- Niklas Schlimm
-
-
Constructor Summary
Constructors Constructor Description BitemporalVersion()
BitemporalVersion(BitemporalStamp stamp, Object object)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
BitemporalStamp
getBitemporalStamp()
Object
getObject()
String
getObjectType()
int
hashCode()
void
setBitemporalStamp(BitemporalStamp stamp)
void
setObject(Object object)
String
toString()
-
-
-
Constructor Detail
-
BitemporalVersion
public BitemporalVersion()
-
BitemporalVersion
public BitemporalVersion(BitemporalStamp stamp, Object object)
-
-
Method Detail
-
getBitemporalStamp
public BitemporalStamp getBitemporalStamp()
- Specified by:
getBitemporalStamp
in interfaceBitemporal
-
setBitemporalStamp
public void setBitemporalStamp(BitemporalStamp stamp)
- Specified by:
setBitemporalStamp
in interfaceBitemporal
-
getObject
public Object getObject()
-
getObjectType
public String getObjectType()
-
setObject
public void setObject(Object object)
-
-