1 | public class Contract implements Serializable {↵ | | 1 | public class Group implements Serializable {↵
|
2 | ↵ | | |
|
3 | private long id;↵ | | 2 | private String org;↵
|
4 | private String customerName;↵ | | 3 | private String name;↵
|
5 | private String type;↵ | | 4 | private String ↵
|
6 | private List variations;↵ | | |
|
|
7 | public Contract() {↵ | | |
|
8 | super↵ | | 5 | description;↵
|
|
9 | ();↵ | | 6 | private Set users = new HashSet();↵
|
10 | }↵ | | 7 | ↵
|
|
11 | public Contract(String customerName, String type) {↵ | | 8 | public Group(String name, String org) {↵
|
12 | this.customerName = customerName;↵ | | 9 | this.org = org;↵
|
13 | this.type = type;↵ | | 10 | this.name = name;↵
|
14 | variations = new ArrayList();↵ | | 11 | }↵
|
|
| | | 12 | public Group() {↵
|
15 | }↵ | | 13 | }↵
|
|
16 | public String getCustomerName() {↵ | | 14 | public String getName() {↵
|
17 | return customerName;↵ | | 15 | return name;↵
|
18 | }↵ | | 16 | }↵
|
|
19 | public void setCustomerName(String customerName) {↵ | | 17 | public void setName(String name) {↵
|
20 | this.customerName = customerName;↵ | | 18 | this.name = name;↵
|
21 | }↵ | | 19 | }↵
|
|
22 | public long getId() {↵ | | 20 | public String getOrg() {↵
|
23 | return id;↵ | | 21 | return org;↵
|
24 | }↵ | | 22 | }↵
|
|
25 | public void setId(long id) {↵ | | 23 | public void setOrg(String org) {↵
|
26 | this.id = id;↵ | | 24 | this.org = org;↵
|
27 | }↵ | | 25 | }↵
|
|
28 | public String getType() {↵ | | 26 | public Set getUsers() {↵
|
29 | return type;↵ | | 27 | return users;↵
|
30 | }↵ | | 28 | }↵
|
|
31 | public void setType(String type) {↵ | | 29 | public void set↵
|
32 | this.type = type;↵ | | |
|
33 | }↵ | | |
|
|
34 | public List getVa↵ | | 30 | Users(Set users) {↵
|
| | | 31 | this.users = users;↵
|
| | | 32 | }↵
|
|
35 | riations() {↵ | | 33 | public String getDescription() {↵
|
36 | return variations;↵ | | 34 | return description;↵
|
37 | }↵ | | 35 | }↵
|
|
38 | public void setVariations(List variations) {↵ | | 36 | public void setDescription(String description) {↵
|
39 | this.variations = variations | | 37 | this.description = description
|