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.KimEntityVisa;
26
27
28
29
30
31
32
33 @Entity
34 @Table(name = "KRIM_ENTITY_VISA_T")
35 public class KimEntityVisaImpl extends KimEntityDataBase implements KimEntityVisa {
36
37 private static final long serialVersionUID = 3067809653175495621L;
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 = "VISA_TYPE_KEY")
47 private String visaTypeKey;
48
49 @Column(name = "VISA_ENTRY")
50 private String visaEntry;
51
52 @Column(name = "VISA_ID")
53 private String visaId;
54
55
56
57
58 public String getId() {
59 return id;
60 }
61
62
63
64
65 public String getEntityId() {
66 return entityId;
67 }
68
69
70
71
72 public String getVisaEntry() {
73 return visaEntry;
74 }
75
76
77
78
79 public String getVisaId() {
80 return visaId;
81 }
82
83
84
85
86 public String getVisaTypeKey() {
87 return visaTypeKey;
88 }
89
90
91
92
93 public void setId(String id) {
94 this.id = id;
95 }
96
97
98
99
100 public void setEntityId(String entityId) {
101 this.entityId = entityId;
102 }
103
104
105
106
107 public void setVisaTypeKey(String visaTypeKey) {
108 this.visaTypeKey = visaTypeKey;
109 }
110
111
112
113
114 public void setVisaEntry(String visaEntry) {
115 this.visaEntry = visaEntry;
116 }
117
118
119
120
121 public void setVisaId(String visaId) {
122 this.visaId = visaId;
123 }
124
125
126
127
128 @Override
129 protected LinkedHashMap toStringMapper() {
130 LinkedHashMap<String, String> m = new LinkedHashMap<String, String>();
131 m.put("id", id);
132 m.put("entityId", entityId);
133 m.put("visaTypeKey", visaTypeKey);
134 m.put("visaEntry", visaEntry);
135 m.put("visaId", visaId);
136 return m;
137 }
138 }