1 | public class ServerImpl implements Server {
↵ | | 1 | public class ProductLine {↵
|
|
2 | private Long id;
↵ | | 2 | private String id;↵
|
3 | private String serverType;↵ | | 3 | private String ↵
|
4 | private Address address;↵ | | |
|
5 |
↵ | | 4 | description;↵
|
| | | 5 | private Set models = new HashSet();↵
|
| | | 6 | ↵
|
6 | public Long getId() {
↵ | | 7 | public String getDescription() {↵
|
7 | return id;↵ | | 8 | return ↵
|
8 | }↵ | | |
|
9 |
↵ | | 9 | description;↵
|
| | | 10 | }↵
|
10 | public void setId(Long id) {
↵ | | 11 | public void setDescription(String description) {↵
|
11 | this.id = id;↵ | | 12 | this.↵
|
12 | }↵ | | |
|
13 |
↵ | | 13 | description = description;↵
|
| | | 14 | }↵
|
14 | public String getServerType() {
↵ | | 15 | public String getId() {↵
|
15 | return serverType;↵ | | 16 | return ↵
|
16 | }↵ | | |
|
|
17 | public void setServerType(String serverType↵ | | 17 | id;↵
|
| | | 18 | }↵
|
18 | ) {
↵ | | 19 | public void setId(String id) {↵
|
19 | this.serverType = serverType;↵ | | 20 | this.↵
|
20 | }↵ | | |
|
21 |
↵ | | 21 | id = id;↵
|
| | | 22 | }↵
|
22 | public Address getAddress() {
↵ | | 23 | public Set getModels() {↵
|
23 | return address;
↵ | | 24 | return models;↵
|
24 | }↵ | | 25 | }↵
|
25 |
↵ | | |
|
26 | public void setAddress(Address address) {
↵ | | 26 | public void setModels(Set models) {↵
|
27 | this.address = address;
↵ | | 27 | this.models = models;↵
|
28 | | | 28 |
|