01: /**
02: * Copyright (C) 2001-2006 France Telecom R&D
03: */package relation.one_to_one;
04:
05: public class Foo {
06: String fooId;
07: Bar bar;
08:
09: public Bar getBar() {
10: return bar;
11: }
12:
13: public void setBar(Bar bar) {
14: this .bar = bar;
15: }
16:
17: public String getFooId() {
18: return fooId;
19: }
20:
21: public void setFooId(String fooId) {
22: this.fooId = fooId;
23: }
24:
25: }
|