Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
KimDocumentRoleQualifier |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright 2007-2008 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.ui; | |
17 | ||
18 | import java.util.LinkedHashMap; | |
19 | ||
20 | import javax.persistence.Column; | |
21 | import javax.persistence.Entity; | |
22 | import javax.persistence.Table; | |
23 | ||
24 | ||
25 | ||
26 | /** | |
27 | * This is a description of what this class does - shyu don't forget to fill this in. | |
28 | * | |
29 | * @author Kuali Rice Team (rice.collab@kuali.org) | |
30 | * | |
31 | */ | |
32 | @Entity | |
33 | @Table(name="KRIM_PND_ROLE_MBR_ATTR_DATA_MT") | |
34 | 0 | public class KimDocumentRoleQualifier extends KimDocumentAttributeDataBusinessObjectBase{ |
35 | @Column(name="ROLE_MBR_ID") | |
36 | private String roleMemberId; | |
37 | ||
38 | public String getRoleMemberId() { | |
39 | 0 | return roleMemberId; |
40 | } | |
41 | ||
42 | public void setRoleMemberId(String roleMemberId) { | |
43 | 0 | this.roleMemberId = roleMemberId; |
44 | 0 | } |
45 | ||
46 | @Override | |
47 | protected LinkedHashMap toStringMapper() { | |
48 | 0 | LinkedHashMap hashMap = new LinkedHashMap(); |
49 | 0 | hashMap.put("attrDataId", getAttrDataId()); |
50 | 0 | hashMap.put("roleMemberId", getRoleMemberId()); |
51 | 0 | hashMap.put("kimTypId", getKimTypId()); |
52 | 0 | hashMap.put("kimAttrDefnId", getKimAttrDefnId()); |
53 | 0 | hashMap.put("attrVal", getAttrVal()); |
54 | 0 | return hashMap; |
55 | } | |
56 | ||
57 | } |