1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kim.bo.entity.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.entity.KimEntityResidency;
26
27
28
29
30
31
32
33 @Entity
34 @Table(name = "KRIM_ENTITY_RESIDENCY_T")
35 public class KimEntityResidencyImpl extends KimEntityDataBase implements KimEntityResidency {
36
37 private static final long serialVersionUID = 6577601907062646925L;
38
39 @Id
40 @Column(name = "ID")
41 private String id;
42
43 @Column(name = "ENTITY_ID")
44 private String entityId;
45
46 @Column(name = "DETERMINATION_METHOD")
47 private String determinationMethod;
48
49 @Column(name = "IN_STATE")
50 private String inStateFlag;
51
52
53
54
55 public void setInStateFlag(String inStateFlag) {
56 this.inStateFlag = inStateFlag;
57 }
58
59
60
61
62 public void setId(String id) {
63 this.id = id;
64 }
65
66
67
68
69 public void setEntityId(String entityId) {
70 this.entityId = entityId;
71 }
72
73
74
75
76 public void setDeterminationMethod(String determinationMethod) {
77 this.determinationMethod = determinationMethod;
78 }
79
80
81
82
83 public String getDeterminationMethod() {
84 return determinationMethod;
85 }
86
87
88
89
90 public String getEntityId() {
91 return entityId;
92 }
93
94
95
96
97 public String getId() {
98 return id;
99 }
100
101
102
103
104 public String getInState() {
105 return inStateFlag;
106 }
107
108
109
110
111 @Override
112 protected LinkedHashMap toStringMapper() {
113 LinkedHashMap<String, String> m = new LinkedHashMap<String, String>();
114 m.put("id", id);
115 m.put("entityId", entityId);
116 m.put("determinationMethod", determinationMethod);
117 m.put("inStateFlag", inStateFlag);
118 return m;
119 }
120 }