Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
GroupMemberImpl |
|
| 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.group.impl; | |
17 | ||
18 | import java.util.LinkedHashMap; | |
19 | ||
20 | import javax.persistence.Column; | |
21 | import javax.persistence.Entity; | |
22 | import javax.persistence.Id; | |
23 | import javax.persistence.Table; | |
24 | ||
25 | import org.kuali.rice.kim.bo.impl.KimAbstractMemberImpl; | |
26 | ||
27 | /** | |
28 | * This is a description of what this class does - kellerj don't forget to fill this in. | |
29 | * | |
30 | * @author Kuali Rice Team (rice.collab@kuali.org) | |
31 | * | |
32 | */ | |
33 | @Entity | |
34 | @Table(name="KRIM_GRP_MBR_T") | |
35 | 0 | public class GroupMemberImpl extends KimAbstractMemberImpl { |
36 | ||
37 | @Id | |
38 | @Column(name="GRP_MBR_ID") | |
39 | protected String groupMemberId; | |
40 | ||
41 | @Column(name="GRP_ID") | |
42 | protected String groupId; | |
43 | ||
44 | ||
45 | public String getGroupMemberId() { | |
46 | 0 | return this.groupMemberId; |
47 | } | |
48 | ||
49 | public void setGroupMemberId(String groupMemberId) { | |
50 | 0 | this.groupMemberId = groupMemberId; |
51 | 0 | } |
52 | ||
53 | public String getGroupId() { | |
54 | 0 | return this.groupId; |
55 | } | |
56 | ||
57 | public void setGroupId(String groupId) { | |
58 | 0 | this.groupId = groupId; |
59 | 0 | } |
60 | ||
61 | /** | |
62 | * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper() | |
63 | */ | |
64 | @SuppressWarnings("unchecked") | |
65 | @Override | |
66 | protected LinkedHashMap toStringMapper() { | |
67 | 0 | LinkedHashMap<String,Object> m = new LinkedHashMap<String,Object>(); |
68 | 0 | m.put( "groupMemberId", groupMemberId ); |
69 | 0 | m.put( "groupId", groupId ); |
70 | 0 | m.put( "memberId", getMemberId() ); |
71 | 0 | m.put( "memberTypeCode", getMemberTypeCode() ); |
72 | 0 | return m; |
73 | } | |
74 | } |