1 package org
.argeo
.slc
.core
.deploy
;
3 import org
.argeo
.slc
.core
.build
.DistributionId
;
6 * A basic implementation of a deployed system id, based on a long value and a
7 * reference to a distribution id.
9 public class NumericDSId
implements DeployedSystemId
{
12 private DistributionId distributionId
;
14 public Long
getValue() {
18 public void setValue(Long value
) {
22 public DistributionId
getDistributionId() {
23 return distributionId
;
26 public void setDistributionId(DistributionId distributionId
) {
27 this.distributionId
= distributionId
;
31 public boolean equals(Object obj
) {
32 return value
.toString().equals(obj
.toString());
36 public String
toString() {
37 return value
.toString();