package org.argeo.slc.core.structure; import org.argeo.slc.core.structure.tree.TreeSPath; /** * Basic implementation of StructureElement. * * @see TreeSPath */ public class SimpleSElement implements StructureElement { /** For ORM */ private Long tid; private String description; /** For ORM */ public SimpleSElement() { } public SimpleSElement(String description) { this.description = description; } public SimpleSElement(String description, String defaultDescription) { this(description != null ? description : defaultDescription); } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } Long getTid() { return tid; } void setTid(Long tid) { this.tid = tid; } }