01: package org.concern.controller;
02:
03: import org.concern.SubjectNotFoundException;
04:
05: public class DummyLoader extends AbstractLoader {
06: public DummyLoader() {
07: }
08:
09: public Object load(String id) throws SubjectNotFoundException {
10: return id;
11: }
12:
13: public String idOf(Object subject) throws SubjectNotFoundException {
14: return "" + subject;
15: }
16:
17: Integer dummy;
18:
19: public void setDummy(Integer dummy) {
20: this .dummy = dummy;
21: }
22:
23: public Integer getDummy() {
24: return dummy;
25: }
26: }
|