]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.core/src/main/java/org/argeo/slc/core/structure/SimpleSElement.java
Introduce context at ant level
[gpl/argeo-slc.git] / org.argeo.slc.core / src / main / java / org / argeo / slc / core / structure / SimpleSElement.java
index 8681865662b6fc3dfdb88019eb96cbc84e70291a..98bf7e319531139589e570f88e87466fad594e42 100644 (file)
@@ -9,32 +9,32 @@ package org.argeo.slc.core.structure;
 public class SimpleSElement implements StructureElement {\r
        /** For ORM */\r
        private Long tid;\r
-       private String description;\r
+       private String label;\r
 \r
        /** For ORM */\r
        public SimpleSElement() {\r
        }\r
 \r
        /** Constructor */\r
-       public SimpleSElement(String description) {\r
-               this.description = description;\r
+       public SimpleSElement(String label) {\r
+               this.label = label;\r
        }\r
 \r
        /** Constructor */\r
-       public SimpleSElement(String description, String defaultDescription) {\r
-               this(description != null ? description : defaultDescription);\r
+       public SimpleSElement(String label, String defaultLabel) {\r
+               this(label != null ? label : defaultLabel);\r
        }\r
 \r
-       public String getDescription() {\r
-               return description;\r
+       public String getLabel() {\r
+               return label;\r
        }\r
 \r
-       /** Sets the description. */\r
-       public void setDescription(String description) {\r
-               this.description = description;\r
+       /** Sets the label. */\r
+       public void setLabel(String label) {\r
+               this.label = label;\r
        }\r
 \r
-       Long getTid() {\r
+       public Long getTid() {\r
                return tid;\r
        }\r
 \r