\r
import org.argeo.slc.core.deploy.DeployedSystemId;\r
\r
+/**\r
+ * Basic implementation of test run id based on a long value and a reference to\r
+ * a deployed system id.\r
+ */\r
public class NumericTRId implements TestResultId {\r
/** For ORM */\r
private Long tid;\r
\r
private Long value;\r
private DeployedSystemId deployedSystemId;\r
- \r
+\r
+ /**\r
+ * Initializes the long value with the current time (based on\r
+ * <code>java.lang.System.currentTimeMillis()</code>).\r
+ */\r
public void init() {\r
if (getValue() == null) {\r
setValue(System.currentTimeMillis());\r
}\r
}\r
\r
-\r
public Long getValue() {\r
return value;\r
}\r
void setTid(Long tid) {\r
this.tid = tid;\r
}\r
- \r
- \r
\r
}\r