1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.kpme.pm.positionreportgroup;
17
18 import org.kuali.kpme.core.api.mo.EffectiveKey;
19 import org.kuali.kpme.core.bo.derived.HrBusinessObjectKey;
20 import org.kuali.rice.core.api.mo.ModelObjectUtils;
21
22 public class PositionReportGroupKeyBo extends HrBusinessObjectKey<PositionReportGroupBo, PositionReportGroupKeyBo> {
23
24 private static final long serialVersionUID = 3035597915412860604L;
25
26
27
28
29
30
31
32
33 public static final ModelObjectUtils.Transformer<EffectiveKey, PositionReportGroupKeyBo> toBo =
34 new ModelObjectUtils.Transformer<EffectiveKey, PositionReportGroupKeyBo>() {
35 public PositionReportGroupKeyBo transform(EffectiveKey input) {
36 return PositionReportGroupKeyBo.from(input);
37 };
38 };
39
40
41
42
43
44
45
46
47 public static final ModelObjectUtils.Transformer<PositionReportGroupKeyBo, EffectiveKey> toImmutable =
48 new ModelObjectUtils.Transformer<PositionReportGroupKeyBo, EffectiveKey>() {
49 public EffectiveKey transform(PositionReportGroupKeyBo input) {
50 return PositionReportGroupKeyBo.to(input);
51 };
52 };
53
54 @Override
55 public PositionReportGroupBo getOwner() {
56 return super.getOwner();
57 }
58
59 @Override
60 public void setOwner(PositionReportGroupBo owner) {
61 super.setOwner(owner);
62 }
63
64 public static PositionReportGroupKeyBo from(EffectiveKey im) {
65 return commonFromLogic(im, new PositionReportGroupKeyBo());
66 }
67
68 }