org.gcube.accounting.ut
Class UpdateInfo

java.lang.Object
  extended by org.gcube.accounting.ut.UpdateInfo

public class UpdateInfo
extends Object

A class modeling the update status of the usage tracker for a given infrastructure (a.k.a. resource owner)


Constructor Summary
UpdateInfo()
           
UpdateInfo(String dci, Long timestamp)
           
 
Method Summary
 String getDci()
          Return a reference to the infrastructure
 Long getTimestamp()
          Return the last time a usage record has been published for the infrastructure
 void setDci(String dci)
          Set a reference to the infrastructure
 void setTimestamp(Long timestamp)
          Set the last time a usage record has been published for the infrastructure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateInfo

public UpdateInfo()

UpdateInfo

public UpdateInfo(String dci,
                  Long timestamp)
Method Detail

getDci

public String getDci()
Return a reference to the infrastructure

Returns:

setDci

public void setDci(String dci)
Set a reference to the infrastructure


getTimestamp

public Long getTimestamp()
Return the last time a usage record has been published for the infrastructure

Returns:

setTimestamp

public void setTimestamp(Long timestamp)
Set the last time a usage record has been published for the infrastructure



Copyright © 2013. All Rights Reserved.