source: vanHelsing/trunk/gui/src/de/dass_it/vanhelsing/gui/items/ConfigItem.java@ 832

Last change on this file since 832 was 832, checked in by tobias, on Mar 5, 2010 at 6:03:21 PM

views and data objects of the resource types added.
basic logging with log4j for the beanUtil class.
Configuration and JobSchedule class renamed.

File size: 888 bytes
Line 
1package de.dass_it.vanhelsing.gui.items;
2public class ConfigItem extends ItemType{
3 private int id;
4 private String ressource;
5 private String key;
6 private String value;
7
8 public ConfigItem(){
9 }
10
11 public ConfigItem(int id, String ressource, String key, String value){
12 this.setId(id);
13 this.setRessource(ressource);
14 this.setKey(key);
15 this.value = value;
16 }
17
18 public void setValue(String value) {
19 this.value = value;
20 }
21
22 public String getValue() {
23 return value;
24 }
25
26 public void setKey(String key) {
27 this.key = key;
28 }
29
30 public String getKey() {
31 return key;
32 }
33
34 public void setRessource(String ressource) {
35 this.ressource = ressource;
36 }
37
38 public String getRessource() {
39 return ressource;
40 }
41
42 public String toString() {
43 return ("Key: " + key + ", Value: " + value);
44 }
45
46 public void setId(int id) {
47 this.id = id;
48 }
49
50 public int getId() {
51 return id;
52 }
53
54}
Note: See TracBrowser for help on using the repository browser.