1 | public class ProductLine {↵ | | 1 | public class Document {↵
|
| | | 2 |
↵
|
2 | private String id;↵ | | 3 | private Long id;
↵
|
3 | private String description;↵ | | 4 | private String location;
↵
|
4 | private Set models = new HashSet();↵ | | 5 | private ↵
|
5 | ↵ | | 6 | User owner;↵
|
| | | 7 |
↵
|
6 | public String getDescription() {↵ | | 8 | public Long getId() {
↵
|
7 | return description;↵ | | 9 | return ↵
|
8 | }↵ | | 10 | id;↵
|
| | | 11 | }↵
|
| | | 12 |
↵
|
9 | public void setDescription(String description) {↵ | | 13 | public void setId(Long id) {
↵
|
10 | this.description = description;↵ | | 14 | this.↵
|
11 | }↵ | | 15 | id = id;↵
|
| | | 16 | }↵
|
| | | 17 |
↵
|
12 | public String getId() {↵ | | 18 | public String getLocation() {
↵
|
13 | return id;↵ | | 19 | return ↵
|
14 | }↵ | | 20 | location;↵
|
| | | 21 | }↵
|
| | | 22 |
↵
|
15 | public void setId(String id) {↵ | | 23 | public void setLocation(String location) {
↵
|
16 | this.id = id;↵ | | 24 | this.↵
|
17 | }↵ | | 25 | location = location;↵
|
| | | 26 | }↵
|
| | | 27 |
↵
|
18 | public Set getModels() {↵ | | 28 | public User getOwner() {
↵
|
19 | return models;↵ | | 29 | return ↵
|
20 | }↵ | | 30 | owner;↵
|
| | | 31 | }↵
|
| | | 32 |
↵
|
21 | public void setModels(Set models) {↵ | | 33 | public void setOwner(User owner) {
↵
|
22 | this.models = models;↵ | | 34 | this.owner = owner;
↵
|
23 | | | 35 |
|