View Javadoc
1   package net.sourceforge.rpgee.utility;
2   
3   import net.sourceforge.rpgee.Describable;
4   import net.sourceforge.rpgee.Identified;
5   import net.sourceforge.rpgee.MutableIdentified;
6   
7   public abstract class BaseIdentified implements Identified<String>, MutableIdentified<String>, Describable {
8   
9       private String id;
10  
11      public String getId() {
12          return id;
13      }
14  
15      public void setId(String id) {
16          this.id = id;
17      }
18  
19      public String getIdAsString() {
20          return getId();
21      }
22  
23      public String getHTMLDescription() {
24          return CODE_HEADER + getDescription() + CODE_FOOTER;
25      }
26  }