diff --git a/datastore_server/source/java/ch/systemsx/cisd/etlserver/registrator/api/v1/impl/ExperimentImmutable.java b/datastore_server/source/java/ch/systemsx/cisd/etlserver/registrator/api/v1/impl/ExperimentImmutable.java index 8140ed5c5a78b542cd58d2fb1cac7c4a5436fc3e..b9c9ca18e7d45daf19023dac9be399ddda62913c 100644 --- a/datastore_server/source/java/ch/systemsx/cisd/etlserver/registrator/api/v1/impl/ExperimentImmutable.java +++ b/datastore_server/source/java/ch/systemsx/cisd/etlserver/registrator/api/v1/impl/ExperimentImmutable.java @@ -78,6 +78,12 @@ public class ExperimentImmutable implements IExperimentImmutable return null; } + @Override + public String getPermId() + { + return experiment.getPermId(); + } + @Override public int hashCode() { diff --git a/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/shared/api/internal/v1/IExperimentImmutable.java b/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/shared/api/internal/v1/IExperimentImmutable.java index 7420b2b9ffe35f4d85323b13b203d50353e49369..733ade7c84b3509867a6a21c62b6b06277a7b028 100644 --- a/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/shared/api/internal/v1/IExperimentImmutable.java +++ b/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/shared/api/internal/v1/IExperimentImmutable.java @@ -43,4 +43,9 @@ public interface IExperimentImmutable * code <code>propertyCode</code> is found. */ String getPropertyValue(String propertyCode); + + /** + * Returns the permId of this experiment. + */ + String getPermId(); }