Line | |
---|
1 | package omq.ztest.farm; |
---|
2 | |
---|
3 | import omq.server.remote.request.RemoteObject; |
---|
4 | |
---|
5 | public class FarmImpl extends RemoteObject implements Farm { |
---|
6 | /** |
---|
7 | * |
---|
8 | */ |
---|
9 | private static final long serialVersionUID = 1L; |
---|
10 | |
---|
11 | private Cow cow; |
---|
12 | private Pig pig; |
---|
13 | |
---|
14 | public Cow getCow() { |
---|
15 | return cow; |
---|
16 | } |
---|
17 | |
---|
18 | public void setCow(Cow cow) { |
---|
19 | this.cow = cow; |
---|
20 | } |
---|
21 | |
---|
22 | public Pig getPig() { |
---|
23 | return pig; |
---|
24 | } |
---|
25 | |
---|
26 | public void setPig(Pig pig) { |
---|
27 | this.pig = pig; |
---|
28 | } |
---|
29 | |
---|
30 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.