X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;ds=sidebyside;f=org.argeo.slc.core%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fcore%2Fstructure%2FSimpleSElement.java;h=69c3e0905aca5529f4ff4592088f9d537aaa5eae;hb=56a8f70a587c793620d1bc2e73c847d935188001;hp=4b50d9c22c7a0a4b3b4b7f880f240d48cec0d778;hpb=77ed5d40c10f8e8e788382ed0da1f3e4a1c31958;p=gpl%2Fargeo-slc.git
diff --git a/org.argeo.slc.core/src/main/java/org/argeo/slc/core/structure/SimpleSElement.java b/org.argeo.slc.core/src/main/java/org/argeo/slc/core/structure/SimpleSElement.java
index 4b50d9c22..69c3e0905 100644
--- a/org.argeo.slc.core/src/main/java/org/argeo/slc/core/structure/SimpleSElement.java
+++ b/org.argeo.slc.core/src/main/java/org/argeo/slc/core/structure/SimpleSElement.java
@@ -1,5 +1,7 @@
package org.argeo.slc.core.structure;
+import java.util.Map;
+import java.util.TreeMap;
/**
* Basic implementation of StructureElement
.
@@ -10,6 +12,7 @@ public class SimpleSElement implements StructureElement {
/** For ORM */
private Long tid;
private String label;
+ private Map tags = new TreeMap();
/** For ORM */
public SimpleSElement() {
@@ -34,7 +37,7 @@ public class SimpleSElement implements StructureElement {
this.label = label;
}
- Long getTid() {
+ public Long getTid() {
return tid;
}
@@ -42,4 +45,12 @@ public class SimpleSElement implements StructureElement {
this.tid = tid;
}
+ public Map getTags() {
+ return tags;
+ }
+
+ public void setTags(Map tags) {
+ this.tags = tags;
+ }
+
}