Cumulus4j API
(1.1.0)

org.cumulus4j.store.model
Class DatastoreVersion

java.lang.Object
  extended by org.cumulus4j.store.model.DatastoreVersion

public class DatastoreVersion
extends Object


Constructor Summary
protected DatastoreVersion()
           
  DatastoreVersion(String commandID, int keyStoreRefID)
           
 
Method Summary
 Date getApplyTimestamp()
          Get the timestamp of the last time, the corresponding DatastoreVersionCommand was applied.
 String getCommandID()
           
 int getCommandVersion()
           
 Integer getKeyStoreRefID()
           
 int getManagerVersion()
          Get the version of the manager by whom this object was written.
 Integer getWorkInProgressCommandVersion()
           
 Integer getWorkInProgressManagerVersion()
           
 String getWorkInProgressStateProperties()
           
 void setApplyTimestamp(Date executedTimestamp)
           
 void setCommandVersion(int commandVersion)
           
 void setManagerVersion(int version)
           
 void setWorkInProgressCommandVersion(Integer newCommandVersion)
           
 void setWorkInProgressManagerVersion(Integer workInProgressManagerVersion)
           
 void setWorkInProgressStateProperties(String workInPrgressStateProperties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatastoreVersion

protected DatastoreVersion()

DatastoreVersion

public DatastoreVersion(String commandID,
                        int keyStoreRefID)
Method Detail

getCommandID

public String getCommandID()

getKeyStoreRefID

public Integer getKeyStoreRefID()

getApplyTimestamp

public Date getApplyTimestamp()
Get the timestamp of the last time, the corresponding DatastoreVersionCommand was applied. It is measured, when the command either completed or threw a

Returns:

setApplyTimestamp

public void setApplyTimestamp(Date executedTimestamp)

getManagerVersion

public int getManagerVersion()
Get the version of the manager by whom this object was written.

Returns:
the version of the manager by whom this object was written.

setManagerVersion

public void setManagerVersion(int version)

getCommandVersion

public int getCommandVersion()

setCommandVersion

public void setCommandVersion(int commandVersion)

getWorkInProgressManagerVersion

public Integer getWorkInProgressManagerVersion()

setWorkInProgressManagerVersion

public void setWorkInProgressManagerVersion(Integer workInProgressManagerVersion)

getWorkInProgressStateProperties

public String getWorkInProgressStateProperties()

setWorkInProgressStateProperties

public void setWorkInProgressStateProperties(String workInPrgressStateProperties)

getWorkInProgressCommandVersion

public Integer getWorkInProgressCommandVersion()

setWorkInProgressCommandVersion

public void setWorkInProgressCommandVersion(Integer newCommandVersion)

Cumulus4j API
(1.1.0)

Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.