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 byBarbelHistoinBarbelMode.POJOto persist data to persistent storage. Can also be used inBarbelMode.BITEMPORALasBitemporalcontainer 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
Modifier and Type Method Description booleanequals(Object obj)BitemporalStampgetBitemporalStamp()ObjectgetObject()StringgetObjectType()inthashCode()voidsetBitemporalStamp(BitemporalStamp stamp)voidsetObject(Object object)StringtoString()
-
-
-
Constructor Detail
-
BitemporalVersion
public BitemporalVersion()
-
BitemporalVersion
public BitemporalVersion(BitemporalStamp stamp, Object object)
-
-
Method Detail
-
getBitemporalStamp
public BitemporalStamp getBitemporalStamp()
- Specified by:
getBitemporalStampin interfaceBitemporal
-
setBitemporalStamp
public void setBitemporalStamp(BitemporalStamp stamp)
- Specified by:
setBitemporalStampin interfaceBitemporal
-
getObject
public Object getObject()
-
getObjectType
public String getObjectType()
-
setObject
public void setObject(Object object)
-
-