Line | |
---|
1 | package test2; |
---|
2 | |
---|
3 | import java.io.Serializable; |
---|
4 | |
---|
5 | public class Rim implements Serializable { |
---|
6 | |
---|
7 | /** |
---|
8 | * |
---|
9 | */ |
---|
10 | private static final long serialVersionUID = 1L; |
---|
11 | |
---|
12 | private String model; |
---|
13 | private int inch; |
---|
14 | |
---|
15 | public Rim() { |
---|
16 | } |
---|
17 | |
---|
18 | public Rim(String model, int inch) { |
---|
19 | this.model = model; |
---|
20 | this.inch = inch; |
---|
21 | } |
---|
22 | |
---|
23 | public String getModel() { |
---|
24 | return model; |
---|
25 | } |
---|
26 | |
---|
27 | public void setModel(String model) { |
---|
28 | this.model = model; |
---|
29 | } |
---|
30 | |
---|
31 | public int getInch() { |
---|
32 | return inch; |
---|
33 | } |
---|
34 | |
---|
35 | public void setInch(int inch) { |
---|
36 | this.inch = inch; |
---|
37 | } |
---|
38 | |
---|
39 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.