1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.kpme.pm.positiondepartmentaffiliation;
17
18 import org.kuali.kpme.core.bo.HrBusinessObject;
19 import org.kuali.kpme.pm.api.positiondepartmentaffiliation.PositionDepartmentAffiliationContract;
20
21 import com.google.common.collect.ImmutableList;
22 public class PositionDepartmentAffiliation extends HrBusinessObject implements PositionDepartmentAffiliationContract {
23
24 public static final ImmutableList<String> EQUAL_TO_FIELDS = new ImmutableList.Builder<String>()
25 .add("positionDeptAfflType")
26 .build();
27
28 private static final long serialVersionUID = 1L;
29
30 private String pmPositionDeptAfflId;
31 private String positionDeptAfflType;
32 private boolean primaryIndicator;
33
34
35 @Override
36 public String getId() {
37 return this.getPmPositionDeptAfflId();
38 }
39
40 @Override
41 public void setId(String id) {
42 setPmPositionDeptAfflId(id);
43 }
44
45 @Override
46 protected String getUniqueKey() {
47 return getPositionDeptAfflType();
48 }
49
50
51
52
53 public String getPmPositionDeptAfflId() {
54 return pmPositionDeptAfflId;
55 }
56
57
58
59
60 public void setPmPositionDeptAfflId(String pmPositionDeptAfflId) {
61 this.pmPositionDeptAfflId = pmPositionDeptAfflId;
62 }
63
64
65
66
67 public String getPositionDeptAfflType() {
68 return positionDeptAfflType;
69 }
70
71
72
73
74 public void setPositionDeptAfflType(String positionDeptAfflType) {
75 this.positionDeptAfflType = positionDeptAfflType;
76 }
77
78
79
80
81 public boolean isPrimaryIndicator() {
82 return primaryIndicator;
83 }
84
85
86
87
88 public void setPrimaryIndicator(boolean primaryIndicator) {
89 this.primaryIndicator = primaryIndicator;
90 }
91
92
93
94 }