Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
AffiliationTypeInfo |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright 2007-2009 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.kim.bo.reference.dto; | |
17 | ||
18 | import org.kuali.rice.kim.bo.reference.AffiliationType; | |
19 | ||
20 | /** | |
21 | * @author Kuali Rice Team (rice.collab@kuali.org) | |
22 | */ | |
23 | 0 | public class AffiliationTypeInfo extends KimCodeInfoBase implements AffiliationType { |
24 | ||
25 | private static final long serialVersionUID = 1L; | |
26 | ||
27 | protected boolean employmentAffiliationType; | |
28 | ||
29 | ||
30 | /** | |
31 | * @see org.kuali.rice.kim.bo.reference.AffiliationType#getAffiliationTypeCode() | |
32 | */ | |
33 | public String getAffiliationTypeCode() { | |
34 | 0 | return getCode(); |
35 | } | |
36 | ||
37 | /** | |
38 | * @see org.kuali.rice.kim.bo.reference.AffiliationType#getAffiliationTypeName() | |
39 | */ | |
40 | public String getAffiliationTypeName() { | |
41 | 0 | return getName(); |
42 | } | |
43 | ||
44 | /** | |
45 | * @see org.kuali.rice.kim.bo.reference.AffiliationType#setAffiliationTypeCode(java.lang.String) | |
46 | */ | |
47 | public void setAffiliationTypeCode(String affiliationTypeCode) { | |
48 | 0 | setCode(affiliationTypeCode); |
49 | 0 | } |
50 | ||
51 | /** | |
52 | * @see org.kuali.rice.kim.bo.reference.AffiliationType#setAffiliationTypeName(java.lang.String) | |
53 | */ | |
54 | public void setAffiliationTypeName(String affiliationTypeName) { | |
55 | 0 | setName(affiliationTypeName); |
56 | 0 | } |
57 | ||
58 | public boolean isEmploymentAffiliationType() { | |
59 | 0 | return this.employmentAffiliationType; |
60 | } | |
61 | ||
62 | public void setEmploymentAffiliationType(boolean employmentAffiliationType) { | |
63 | 0 | this.employmentAffiliationType = employmentAffiliationType; |
64 | 0 | } |
65 | ||
66 | } |