Commit 223063a7 authored by Matija Obreza's avatar Matija Obreza
Browse files

UUID getters and setters

parent 22d1ec92
......@@ -204,6 +204,14 @@ public class Metadata implements java.io.Serializable, AclAwareModel {
this.description = description;
}
public String getUuid() {
return uuid;
}
public void setUuid(String uuid) {
this.uuid = uuid;
}
@Override
public String toString() {
return MessageFormat.format("Metadata id={0,number,#} inst={2} title={1}", id, title, institute);
......
......@@ -207,4 +207,14 @@ public class Method extends BusinessModel implements AclAwareModel {
public void setParameter(final Parameter parameter) {
this.parameter = parameter;
}
public String getUuid() {
return uuid;
}
public void setUuid(String uuid) {
this.uuid = uuid;
}
}
......@@ -102,4 +102,13 @@ public class Parameter extends BusinessModel implements AclAwareModel {
// category.getTitle());
// }
public String getUuid() {
return uuid;
}
public void setUuid(String uuid) {
this.uuid = uuid;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment