source: vanHelsing/branches/guitechdemo/src/de/dass_it/vanhelsing/gui/ViewItem.java@ 1220

Last change on this file since 1220 was 849, checked in by tobias, on Mar 23, 2010 at 3:01:06 PM

configView with item data

File size: 859 bytes
Line 
1package de.dass_it.vanhelsing.gui;
2
3import de.dass_it.vanhelsing.gui.items.ItemType;
4import de.dass_it.vanhelsing.gui.items.UserObjectItem;
5
6public class ViewItem extends ItemType implements UserObjectItem {
7 private String key;
8 private String keyValue;
9
10 public ViewItem(){
11 }
12
13 //Methoden aus ItemType für die Zuordnung von Änderungen
14 public int getResId(){
15 return super.getResId();
16 }
17 public void setResId(int id){
18 super.setResId(id);
19 }
20 public String getResType(){
21 return super.getResType();
22 }
23 public void setResType(String resType){
24 super.setResType(resType);
25 }
26 //eigene Felder für die Tabellenspalten
27 public void setKey(String key) {
28 this.key = key;
29 }
30
31 public String getKey() {
32 return key;
33 }
34
35 public String getKeyValue() {
36 return keyValue;
37 }
38
39 public void setKeyValue(String keyValue) {
40 this.keyValue = keyValue;
41 }
42}
Note: See TracBrowser for help on using the repository browser.