]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc/src/main/java/org/argeo/slc/core/structure/SimpleSElement.java
- Documentation
[gpl/argeo-slc.git] / org.argeo.slc / src / main / java / org / argeo / slc / core / structure / SimpleSElement.java
index 7e6023a3dc1174620b39b54bc597edc853ec6d9e..12c65d5500d6fc959a1bf3e11f894375dd4faa3f 100644 (file)
@@ -3,22 +3,21 @@ package org.argeo.slc.core.structure;
 import org.argeo.slc.core.structure.tree.TreeSPath;\r
 \r
 /**\r
- * Implementation of <code>StructureElement</code> for tree based registries,\r
- * using <code>TreeSPath</code>\r
+ * Basic implementation of <code>StructureElement</code>.\r
  * \r
  * @see TreeSPath\r
  */\r
 public class SimpleSElement implements StructureElement {\r
        private String description;\r
 \r
-       public SimpleSElement(String description){\r
+       public SimpleSElement(String description) {\r
                this.description = description;\r
        }\r
-       \r
-       public SimpleSElement(String description, String defaultDescription){\r
-               this(description!=null?description:defaultDescription);\r
+\r
+       public SimpleSElement(String description, String defaultDescription) {\r
+               this(description != null ? description : defaultDescription);\r
        }\r
-       \r
+\r
        public String getDescription() {\r
                return description;\r
        }\r