author | Claudio Luck <claudio.luck@pep.foundation> |
Thu, 19 Mar 2020 16:45:02 +0100 | |
changeset 62 | 00a196f8d14a |
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 |
} |