uk.ac.soton.ecs.grimoires.server.lifetime
Class LifetimeRecord

java.lang.Object
  extended byuk.ac.soton.ecs.grimoires.server.lifetime.LifetimeRecord

public class LifetimeRecord
extends Object

Author:
wf

Constructor Summary
LifetimeRecord()
           
LifetimeRecord(String entityKey, String entityType, String metadataKey, long termTime)
          For termination time metadata
LifetimeRecord(String entityKey, String entityType, String metadataKey, String termAction)
          For termination action metadata
 
Method Summary
 String getDeprecatedMetadataKey()
           
 String getEntityKey()
           
 String getEntityType()
           
 String getTermAction()
           
 String getTermActionMetadataKey()
           
 long getTermTime()
           
 String getTermTimeMetadataKey()
           
 void setDeprecatedMetadataKey(String deprecatedMetadataKey)
           
 void setEntityKey(String entityKey)
           
 void setEntityType(String entityType)
           
 void setTermAction(String termAction)
           
 void setTermActionMetadataKey(String termActionMetadataKey)
           
 void setTermTime(long termTime)
           
 void setTermTimeMetadataKey(String termTimeMetadataKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifetimeRecord

public LifetimeRecord(String entityKey,
                      String entityType,
                      String metadataKey,
                      long termTime)
For termination time metadata

Parameters:
entityKey -
entityType -
metadataKey -
termTime -

LifetimeRecord

public LifetimeRecord(String entityKey,
                      String entityType,
                      String metadataKey,
                      String termAction)
For termination action metadata

Parameters:
entityKey -
entityType -
metadataKey -
termAction -

LifetimeRecord

public LifetimeRecord()
Method Detail

getEntityKey

public String getEntityKey()
Returns:
Returns the entityKey.

setEntityKey

public void setEntityKey(String entityKey)
Parameters:
entityKey - The entityKey to set.

getEntityType

public String getEntityType()
Returns:
Returns the entityType.

setEntityType

public void setEntityType(String entityType)
Parameters:
entityType - The entityType to set.

getTermAction

public String getTermAction()
Returns:
Returns the termAction.

setTermAction

public void setTermAction(String termAction)
Parameters:
termAction - The termAction to set.

getTermActionMetadataKey

public String getTermActionMetadataKey()
Returns:
Returns the termActionMetadataKey.

setTermActionMetadataKey

public void setTermActionMetadataKey(String termActionMetadataKey)
Parameters:
termActionMetadataKey - The termActionMetadataKey to set.

getTermTime

public long getTermTime()
Returns:
Returns the termTime.

setTermTime

public void setTermTime(long termTime)
Parameters:
termTime - The termTime to set.

getTermTimeMetadataKey

public String getTermTimeMetadataKey()
Returns:
Returns the termTimeMetadataKey.

setTermTimeMetadataKey

public void setTermTimeMetadataKey(String termTimeMetadataKey)
Parameters:
termTimeMetadataKey - The termTimeMetadataKey to set.

getDeprecatedMetadataKey

public String getDeprecatedMetadataKey()
Returns:
Returns the deprecatedMetadataKey.

setDeprecatedMetadataKey

public void setDeprecatedMetadataKey(String deprecatedMetadataKey)
Parameters:
deprecatedMetadataKey - The deprecatedMetadataKey to set.