1 package org
.argeo
.slc
.core
.test
;
3 import org
.argeo
.slc
.core
.deploy
.DeployedSystemId
;
6 * Basic implementation of test run id based on a long value and a reference to
7 * a deployed system id.
9 public class NumericTRId
implements TestResultId
{
14 private DeployedSystemId deployedSystemId
;
17 * Initializes the long value with the current time (based on
18 * <code>java.lang.System.currentTimeMillis()</code>).
21 if (getValue() == null) {
22 setValue(System
.currentTimeMillis());
26 public Long
getValue() {
30 public void setValue(Long value
) {
34 public DeployedSystemId
getDeployedSystemId() {
35 return deployedSystemId
;
38 public void setDeployedSystemId(DeployedSystemId deployedSystemId
) {
39 this.deployedSystemId
= deployedSystemId
;
43 public boolean equals(Object obj
) {
44 return value
.toString().equals(obj
.toString());
48 public String
toString() {
49 return value
.toString();
56 void setTid(Long tid
) {