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