Last change
on this file since 10 was
10,
checked in by stoda, 12 years ago
|
bug solved: invoke functions without params
|
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.