1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.rice.kns.bo;
18
19 import org.kuali.rice.core.framework.persistence.jpa.CompositePrimaryKeyBase;
20
21 import javax.persistence.Column;
22 import javax.persistence.Id;
23
24
25
26
27
28
29
30 public class SessionDocumentId extends CompositePrimaryKeyBase {
31 @Id
32 @Column(name="DOC_HDR_ID")
33 protected String documentNumber;
34 @Id
35 @Column(name="SESN_DOC_ID")
36 protected String sessionId;
37 @Id
38 @Column(name="PRNCPL_ID")
39 protected String principalId;
40 @Id
41 @Column(name="IP_ADDR")
42 protected String ipAddress;
43
44 public SessionDocumentId() {}
45
46 public SessionDocumentId(String documentNumber, String sessionId, String principalId, String ipAddress) {
47 this.documentNumber = documentNumber;
48 this.sessionId = sessionId;
49 this.principalId = principalId;
50 this.ipAddress = ipAddress;
51 }
52
53
54
55
56 public String getDocumentNumber() {
57 return this.documentNumber;
58 }
59
60
61
62 public String getSessionId() {
63 return this.sessionId;
64 }
65
66
67
68 public String getPrincipalId() {
69 return this.principalId;
70 }
71
72
73
74 public String getIpAddress() {
75 return this.ipAddress;
76 }
77
78
79
80 public void setDocumentNumber(String documentNumber) {
81 this.documentNumber = documentNumber;
82 }
83
84
85
86 public void setSessionId(String sessionId) {
87 this.sessionId = sessionId;
88 }
89
90
91
92 public void setPrincipalId(String principalId) {
93 this.principalId = principalId;
94 }
95
96
97
98 public void setIpAddress(String ipAddress) {
99 this.ipAddress = ipAddress;
100 }
101
102 }