Line | |
---|
1 | |
---|
2 | package com.heuristiclab.okb.service.administration; |
---|
3 | |
---|
4 | /** |
---|
5 | * Value object for representing a platform |
---|
6 | * @author fab |
---|
7 | */ |
---|
8 | public class Platform { |
---|
9 | |
---|
10 | public Platform(com.heuristiclab.services.administration.Platform p) |
---|
11 | { |
---|
12 | id = p.getId(); |
---|
13 | name = p.getName().getValue(); |
---|
14 | description = p.getDescription().getValue(); |
---|
15 | } |
---|
16 | |
---|
17 | private Long id; |
---|
18 | private String name; |
---|
19 | private String description; |
---|
20 | |
---|
21 | public String getDescription() { |
---|
22 | return description; |
---|
23 | } |
---|
24 | |
---|
25 | public Long getId() { |
---|
26 | return id; |
---|
27 | } |
---|
28 | |
---|
29 | public String getName() { |
---|
30 | return name; |
---|
31 | } |
---|
32 | |
---|
33 | |
---|
34 | |
---|
35 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.