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