org.entityfs.entityattrs
Interface CreationTimeConfigurable


public interface CreationTimeConfigurable

This interface is implemented by classes that can be configured with a creation time.

Since:
1.0
Author:
Karl Gustafsson

Method Summary
 long getCreationTime()
          Get the creation time of the entity.
 void setCreationTime(long t)
          Set the creation time of the entity in milliseconds since January 1, 1970
 

Method Detail

setCreationTime

void setCreationTime(long t)
Set the creation time of the entity in milliseconds since January 1, 1970

Parameters:
t - The new creation time.
See Also:
Date.getTime()

getCreationTime

long getCreationTime()
Get the creation time of the entity.

Returns:
The entity's creation time in milliseconds since January 1st, 1970.
See Also:
Date.getTime()