author | Volker Birk <vb@pep.foundation> |
Thu, 26 Apr 2018 19:26:10 +0200 | |
changeset 18 | e14c2324eb0e |
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 |
} |