Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Campus |
|
| 1.0;1 |
1 | /** | |
2 | * Copyright 2011 The Kuali Foundation Licensed under the | |
3 | * Educational Community License, Version 2.0 (the "License"); you may | |
4 | * not use this file except in compliance with the License. You may | |
5 | * obtain a copy of the License at | |
6 | * | |
7 | * http://www.osedu.org/licenses/ECL-2.0 | |
8 | * | |
9 | * Unless required by applicable law or agreed to in writing, | |
10 | * software distributed under the License is distributed on an "AS IS" | |
11 | * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | |
12 | * or implied. See the License for the specific language governing | |
13 | * permissions and limitations under the License. | |
14 | */ | |
15 | package org.kuali.mobility.campus.entity; | |
16 | ||
17 | import java.io.Serializable; | |
18 | import java.util.ArrayList; | |
19 | import java.util.List; | |
20 | ||
21 | /** | |
22 | * Defines a campus | |
23 | * @author Kuali Mobility Team (moblitiy.collab@kuali.org) | |
24 | */ | |
25 | public class Campus implements Serializable { | |
26 | ||
27 | private static final long serialVersionUID = -8000615503651726243L; | |
28 | ||
29 | private String name; | |
30 | ||
31 | private String code; | |
32 | ||
33 | private List<String> tools; | |
34 | ||
35 | 0 | public Campus() { |
36 | 0 | tools = new ArrayList<String>(); |
37 | 0 | } |
38 | ||
39 | public List<String> getTools() { | |
40 | 0 | return tools; |
41 | } | |
42 | ||
43 | public void setTools(List<String> tools) { | |
44 | 0 | this.tools = tools; |
45 | 0 | } |
46 | ||
47 | /** | |
48 | * @return the name of the campus | |
49 | */ | |
50 | public String getName() { | |
51 | 0 | return name; |
52 | } | |
53 | ||
54 | /** | |
55 | * @param name the name of the campus | |
56 | */ | |
57 | public void setName(String name) { | |
58 | 0 | this.name = name; |
59 | 0 | } |
60 | ||
61 | /** | |
62 | * @return the code that uniquely identifies this campus | |
63 | */ | |
64 | public String getCode() { | |
65 | 0 | return code; |
66 | } | |
67 | ||
68 | /** | |
69 | * @param code the code that uniquely identifies this campus | |
70 | */ | |
71 | public void setCode(String code) { | |
72 | 0 | this.code = code; |
73 | 0 | } |
74 | } |