]>
git.argeo.org Git - gpl/argeo-slc.git/blob - core/structure/SimpleSElement.java
1 package org
.argeo
.slc
.core
.structure
;
4 import java
.util
.TreeMap
;
7 * Basic implementation of <code>StructureElement</code>.
11 public class SimpleSElement
implements StructureElement
{
15 private Map
<String
, String
> tags
= new TreeMap
<String
, String
>();
18 public SimpleSElement() {
22 public SimpleSElement(String label
) {
27 public SimpleSElement(String label
, String defaultLabel
) {
28 this(label
!= null ? label
: defaultLabel
);
31 public String
getLabel() {
35 /** Sets the label. */
36 public void setLabel(String label
) {
40 public Long
getTid() {
44 void setTid(Long tid
) {
48 public Map
<String
, String
> getTags() {
52 public void setTags(Map
<String
, String
> tags
) {