01: package org.apache.ojb.broker;
02:
03: import java.io.Serializable;
04:
05: /**
06: *
07: * @author <a href="mailto:armin@codeAuLait.de">Armin Waibel</a>
08: * @version $Id: FarAwayClass.java,v 1.4 2003/05/22 19:39:42 arminw Exp $
09: */
10: public class FarAwayClass implements Serializable {
11: private String name;
12: private int id;
13: private String description;
14: private Integer referenceId;
15: private FarAwayReferenceIF reference;
16:
17: public int getId() {
18: return id;
19: }
20:
21: public void setId(int id) {
22: this .id = id;
23: }
24:
25: public FarAwayReferenceIF getReference() {
26: return reference;
27: }
28:
29: public void setReference(FarAwayReferenceIF reference) {
30: this .reference = reference;
31: }
32:
33: public Integer getReferenceId() {
34: return referenceId;
35: }
36:
37: public void setReferenceId(Integer referenceId) {
38: this .referenceId = referenceId;
39: }
40:
41: public String getName() {
42: return name;
43: }
44:
45: public void setName(String name) {
46: this .name = name;
47: }
48:
49: public String getDescription() {
50: return description;
51: }
52:
53: public void setDescription(String description) {
54: this .description = description;
55: }
56:
57: public String toString() {
58: return this .getClass().getName() + " [ " + "id: " + id
59: + ", name: " + name + ", description: " + description
60: + ", reference: " + reference + "]";
61: }
62: }
|