source:
branches/objectmq-1.0/src/omq/ztest/farm/Pig.java
Last change on this file was 33, checked in by amoreno, 11 years ago | |
---|---|
File size: 333 bytes |
Line | |
---|---|
1 | package omq.ztest.farm; |
2 | |
3 | public class Pig implements Animal { |
4 | |
5 | |
6 | /** |
7 | * |
8 | */ |
9 | private static final long serialVersionUID = 1L; |
10 | private String name; |
11 | |
12 | public Pig() { |
13 | } |
14 | |
15 | public Pig(String name) { |
16 | this.name = name; |
17 | } |
18 | |
19 | public String getName() { |
20 | return name; |
21 | } |
22 | |
23 | public void setName(String name) { |
24 | this.name = name; |
25 | } |
26 | |
27 | } |
Note: See TracBrowser
for help on using the repository browser.