]> git.argeo.org Git - gpl/argeo-slc.git/blob - TimeTestResultId.java
0dffd4712e4c2ab10fe084a58699692d83ef1c39
[gpl/argeo-slc.git] / TimeTestResultId.java
1 package org.argeo.slc.core.test;
2
3 import org.argeo.slc.core.deploy.DeployedSystemId;
4
5 public class TimeTestResultId extends NumericTRId {
6 private DeployedSystemId deployedSystemId;
7
8 public void init() {
9 if (getValue() == null) {
10 setValue(System.currentTimeMillis());
11 }
12 }
13
14 public void setDeployedSystemId(DeployedSystemId deployedSystemId) {
15 this.deployedSystemId = deployedSystemId;
16 }
17
18 public DeployedSystemId getDeployedSystemId() {
19 return deployedSystemId;
20 }
21 }