1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.datadictionary.validation;
17
18 import java.util.List;
19
20
21
22
23
24 public class Company {
25
26 private String id;
27 private String name;
28 private List<Address> locations;
29
30 private Employee mainContact;
31 private Address mainAddress;
32 private List<Employee> employees;
33 private List<String> slogans;
34
35
36 public Company(){
37 }
38
39
40
41
42
43
44 public String getId() {
45 return this.id;
46 }
47
48
49
50
51 public void setId(String id) {
52 this.id = id;
53 }
54
55
56
57 public Company(String name) {
58 this.name = name;
59 }
60
61
62
63
64 public String getName() {
65 return this.name;
66 }
67
68
69
70 public void setName(String name) {
71 this.name = name;
72 }
73
74
75
76 public List<Address> getLocations() {
77 return this.locations;
78 }
79
80
81
82 public void setLocations(List<Address> addresses) {
83 this.locations = addresses;
84 }
85
86
87
88
89 public Address getMainAddress() {
90 return this.mainAddress;
91 }
92
93
94
95
96 public void setMainAddress(Address address) {
97 this.mainAddress = address;
98 }
99
100
101
102
103 public List<Employee> getEmployees() {
104 return this.employees;
105 }
106
107
108
109
110 public void setEmployees(List<Employee> employees) {
111 this.employees = employees;
112 }
113
114
115
116
117
118 public Employee getMainContact() {
119 return this.mainContact;
120 }
121
122
123
124
125
126 public void setMainContact(Employee mainContact) {
127 this.mainContact = mainContact;
128 }
129
130
131
132
133
134 public List<String> getSlogans() {
135 return this.slogans;
136 }
137
138
139
140
141
142 public void setSlogans(List<String> slogans) {
143 this.slogans = slogans;
144 }
145
146 }