author | Volker Birk <vb@pep.foundation> |
Tue, 25 Apr 2017 20:46:59 +0200 | |
changeset 9 | 0250d70228bc |
parent 0 | 76005e62091d |
permissions | -rw-r--r-- |
0 | 1 |
package Bla; |
2 |
||
3 |
class Customer { |
|
4 |
// attribute id |
|
5 |
||
6 |
public int getId() { |
|
7 |
return id; |
|
8 |
} |
|
9 |
||
10 |
public void setId(int value) { |
|
11 |
id = value; |
|
12 |
} |
|
13 |
||
14 |
private int id; |
|
15 |
||
16 |
// attribute name |
|
17 |
||
18 |
public String getName() { |
|
19 |
return name; |
|
20 |
} |
|
21 |
||
22 |
public void setName(String value) { |
|
23 |
name = value; |
|
24 |
} |
|
25 |
||
26 |
private String name; |
|
27 |
} |