1 | public abstract class ItemImpl implements Item {↵ | | 1 | public class Identity {
↵
|
2 | private Long id;↵ | | 2 | private String name;
↵
|
3 | private String name;↵ | | 3 | private String ↵
|
4 | /**↵ | | |
|
5 | * @return Returns the id.↵ | | |
|
6 | */↵ | | 4 | ssn;↵
|
| | | 5 |
↵
|
7 | public Long getId() {↵ | | 6 | public String getSsn() {
↵
|
8 | return id;↵ | | 7 | return ↵
|
9 | }↵ | | |
|
10 | /**↵ | | |
|
11 | * @param id The id to set.↵ | | |
|
12 | */↵ | | 8 | ssn;↵
|
| | | 9 | }
↵
|
13 | public void setId(Long id) {↵ | | 10 | public void setSsn(String id) {
↵
|
14 | this.id = id;↵ | | 11 | this.ssn = id;
↵
|
15 | }↵ | | 12 | }↵
|
16 | /**↵ | | |
|
17 | * @return Returns the name.↵ | | |
|
18 | */↵ | | 13 |
↵
|
19 | public String getName() {↵ | | 14 | public String getName() {
↵
|
20 | return name;↵ | | 15 | return name;
↵
|
21 | }↵ | | 16 | }↵
|
22 | /**↵ | | |
|
23 | * @param name The name to set.↵ | | |
|
24 | */↵ | | 17 |
↵
|
25 | public void setName(String name) {↵ | | 18 | public void setName(String name) {
↵
|
26 | this.name = name | | 19 | this.name = name
|