uk.ac.soton.ecs.grimoires.server.lifetime
Class LifetimeRecord
java.lang.Object
uk.ac.soton.ecs.grimoires.server.lifetime.LifetimeRecord
- public class LifetimeRecord
- extends Object
- Author:
- wf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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()
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.