Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
GroupAttributeDataImpl |
|
| 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.group.impl; | |
17 | ||
18 | import java.util.LinkedHashMap; | |
19 | ||
20 | import javax.persistence.Column; | |
21 | import javax.persistence.Entity; | |
22 | import javax.persistence.Table; | |
23 | ||
24 | import org.kuali.rice.kim.bo.types.impl.KimAttributeDataImpl; | |
25 | ||
26 | /** | |
27 | * @author Kuali Rice Team (rice.collab@kuali.org) | |
28 | */ | |
29 | @Entity | |
30 | @Table(name="KRIM_GRP_ATTR_DATA_T") | |
31 | 0 | public class GroupAttributeDataImpl extends KimAttributeDataImpl { |
32 | @Column(name="GRP_ID") | |
33 | protected String groupId; | |
34 | ||
35 | public String getGroupId() { | |
36 | 0 | return this.groupId; |
37 | } | |
38 | ||
39 | public void setGroupId(String groupId) { | |
40 | 0 | this.groupId = groupId; |
41 | 0 | } |
42 | ||
43 | /** | |
44 | * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper() | |
45 | */ | |
46 | @SuppressWarnings("unchecked") | |
47 | @Override | |
48 | protected LinkedHashMap toStringMapper() { | |
49 | 0 | LinkedHashMap m = new LinkedHashMap(); |
50 | 0 | m.put( "attrDataId", getAttributeDataId() ); |
51 | 0 | m.put( "groupId", getGroupId() ); |
52 | 0 | m.put( "kimTypeId", getKimTypeId() ); |
53 | 0 | m.put( "kimAttrDefnId", getKimAttributeId() ); |
54 | 0 | m.put( "attrValue", getAttributeValue() ); |
55 | 0 | return m; |
56 | } | |
57 | } |