author | Volker Birk <vb@pep.foundation> |
Thu, 21 Sep 2017 07:57:17 +0200 | |
changeset 15 | fa7016d48317 |
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 |
} |