Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
CampusContract |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright 2006-2011 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 | ||
17 | package org.kuali.rice.shareddata.api.campus; | |
18 | ||
19 | import org.kuali.rice.core.api.mo.GloballyUnique; | |
20 | import org.kuali.rice.core.api.mo.Versioned; | |
21 | ||
22 | ||
23 | public interface CampusContract extends Versioned, GloballyUnique { | |
24 | /** | |
25 | * This is the campus code for the Campus. This is cannot be a null or a blank string. | |
26 | * | |
27 | * <p> | |
28 | * It is a unique abreviation of a campus. | |
29 | * </p> | |
30 | * @return code for Campus. Will never be null or an empty string. | |
31 | */ | |
32 | String getCode(); | |
33 | ||
34 | /** | |
35 | * This is the name for the Campus. | |
36 | * | |
37 | * <p> | |
38 | * It is a name a campus. | |
39 | * </p> | |
40 | * @return name for Campus. | |
41 | */ | |
42 | String getName(); | |
43 | ||
44 | /** | |
45 | * This is the short name for the Campus. | |
46 | * | |
47 | * <p> | |
48 | * It is a shorter name for a campus. | |
49 | * </p> | |
50 | * @return short name for Campus. | |
51 | */ | |
52 | String getShortName(); | |
53 | ||
54 | /** | |
55 | * This is the campus type for the Campus. | |
56 | * | |
57 | * <p> | |
58 | * It is a object that defines the type of a campus. | |
59 | * </p> | |
60 | * @return short name for Campus. | |
61 | */ | |
62 | CampusTypeContract getCampusType(); | |
63 | ||
64 | /** | |
65 | * @return the active | |
66 | */ | |
67 | boolean isActive(); | |
68 | ||
69 | } |