View Javadoc

1   /**
2    * Copyright 2005-2012 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.rice.krad.datadictionary.validation;
17  
18  import java.util.List;
19  
20  /**
21   * 
22   * @author Kuali Rice Team (rice.collab@kuali.org)
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  	 * @return the id
42  	 */
43  	
44  	public String getId() {
45  		return this.id;
46  	}
47  
48  	/**
49  	 * @param id the id to set
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  	 * @return the name
63  	 */
64  	public String getName() {
65  		return this.name;
66  	}
67  	/**
68  	 * @param name the name to set
69  	 */
70  	public void setName(String name) {
71  		this.name = name;
72  	}
73  	/**
74  	 * @return the addresses
75  	 */
76  	public List<Address> getLocations() {
77  		return this.locations;
78  	}
79  	/**
80  	 * @param addresses the addresses to set
81  	 */
82  	public void setLocations(List<Address> addresses) {
83  		this.locations = addresses;
84  	}
85  
86  	/**
87  	 * @return the address
88  	 */
89  	public Address getMainAddress() {
90  		return this.mainAddress;
91  	}
92  
93  	/**
94  	 * @param address the address to set
95  	 */
96  	public void setMainAddress(Address address) {
97  		this.mainAddress = address;
98  	}
99  
100 	/**
101 	 * @return the employee
102 	 */
103 	public List<Employee> getEmployees() {
104 		return this.employees;
105 	}
106 
107 	/**
108 	 * @param employee the employee to set
109 	 */
110 	public void setEmployees(List<Employee> employees) {
111 		this.employees = employees;
112 	}
113 
114 
115 	/**
116 	 * @return the mainContact
117 	 */
118 	public Employee getMainContact() {
119 		return this.mainContact;
120 	}
121 
122 
123 	/**
124 	 * @param mainContact the mainContact to set
125 	 */
126 	public void setMainContact(Employee mainContact) {
127 		this.mainContact = mainContact;
128 	}
129 	
130 	
131     /**
132      * @return the slogans
133      */
134     public List<String> getSlogans() {
135         return this.slogans;
136     }
137 
138 
139     /**
140      * @param slogans the slogans to set
141      */
142     public void setSlogans(List<String> slogans) {
143         this.slogans = slogans;
144     }
145 	
146 }