View Javadoc

1   /*
2    * Created on 01.05.2005
3    *
4    */
5   package hoplugins.conv;
6   
7   /***
8    * @author Thorsten Dietz
9    *
10   */
11  public class SimpleObject {
12      private int id;
13      private String txt;
14      
15      protected SimpleObject(int newId, String newTxt){
16          id = newId;
17          txt = newTxt;
18      }
19      protected final int getId() {
20          return id;
21      }
22      protected final String getTxt() {
23          return txt;
24      }
25      
26      public String toString(){
27          return txt;
28      }
29  }