Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ExternalIdentifierTypeInfo |
|
| 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.ExternalIdentifierType; | |
19 | ||
20 | /** | |
21 | * @author Kuali Rice Team (rice.collab@kuali.org) | |
22 | */ | |
23 | 0 | public class ExternalIdentifierTypeInfo extends KimCodeInfoBase implements ExternalIdentifierType { |
24 | ||
25 | private static final long serialVersionUID = 1L; | |
26 | ||
27 | protected boolean encryptionRequired; | |
28 | ||
29 | /** | |
30 | * @see org.kuali.rice.kim.bo.reference.ExternalIdentifierType#getExternalIdentifierTypeCode() | |
31 | */ | |
32 | public String getExternalIdentifierTypeCode() { | |
33 | 0 | return getCode(); |
34 | } | |
35 | ||
36 | /** | |
37 | * @see org.kuali.rice.kim.bo.reference.ExternalIdentifierType#getExternalIdentifierTypeName() | |
38 | */ | |
39 | public String getExternalIdentifierTypeName() { | |
40 | 0 | return getName(); |
41 | } | |
42 | ||
43 | /** | |
44 | * @see org.kuali.rice.kim.bo.reference.ExternalIdentifierType#setExternalIdentifierTypeCode(java.lang.String) | |
45 | */ | |
46 | public void setExternalIdentifierTypeCode(String externalIdentifierTypeCode) { | |
47 | 0 | setCode(externalIdentifierTypeCode); |
48 | 0 | } |
49 | ||
50 | /** | |
51 | * @see org.kuali.rice.kim.bo.reference.ExternalIdentifierType#setExternalIdentifierTypeName(java.lang.String) | |
52 | */ | |
53 | public void setExternalIdentifierTypeName(String externalIdentifierTypeName) { | |
54 | 0 | setName(externalIdentifierTypeName); |
55 | 0 | } |
56 | ||
57 | public boolean isEncryptionRequired() { | |
58 | 0 | return this.encryptionRequired; |
59 | } | |
60 | ||
61 | public void setEncryptionRequired(boolean encryptionRequired) { | |
62 | 0 | this.encryptionRequired = encryptionRequired; |
63 | 0 | } |
64 | ||
65 | } |