01: package org.apache.ojb.broker;
02:
03: /**
04: *
05: * @author <a href="mailto:armin@codeAuLait.de">Armin Waibel</a>
06: * @version $Id: FarAwayReference.java,v 1.4 2003/06/02 12:52:28 thma Exp $
07: */
08: public class FarAwayReference implements FarAwayReferenceIF {
09: private String name;
10: private int id;
11:
12: public int getId() {
13: return id;
14: }
15:
16: public void setId(int id) {
17: this .id = id;
18: }
19:
20: public String getName() {
21: return name;
22: }
23:
24: public void setName(String name) {
25: this .name = name;
26: }
27:
28: public String toString() {
29: return this .getClass().getName() + " [ " + "id: " + id
30: + ", name: " + name + "]";
31: }
32: }
|