author | Volker Birk <vb@pep-project.org> |
Fri, 11 Oct 2019 21:39:11 +0200 | |
changeset 33 | 12c0bdcb709d |
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 |
} |