1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kew.actionitem;
17
18 import javax.persistence.Entity;
19 import javax.persistence.Table;
20
21
22
23
24
25
26
27 @Entity
28 @Table(name="KREW_OUT_BOX_ITM_T")
29 public class OutboxItem extends ActionItemBase {
30
31 private static final long serialVersionUID = 5776214610837858304L;
32
33 public OutboxItem() {}
34
35 public OutboxItem(ActionItem actionItem) {
36 this.setActionRequestCd(actionItem.getActionRequestCd());
37 this.setActionRequestId(actionItem.getActionRequestId());
38 this.setDateAssigned(actionItem.getDateAssigned());
39 this.setDelegationType(actionItem.getDelegationType());
40 this.setDelegatorPrincipalId(actionItem.getDelegatorPrincipalId());
41 this.setDelegatorGroupId(actionItem.getDelegatorGroupId());
42 this.setDocHandlerURL(actionItem.getDocHandlerURL());
43 this.setDocLabel(actionItem.getDocLabel());
44 this.setDocName(actionItem.getDocName());
45 this.setDocTitle(actionItem.getDocTitle());
46 this.setResponsibilityId(actionItem.getResponsibilityId());
47 this.setRoleName(actionItem.getRoleName());
48 this.setDocumentId(actionItem.getDocumentId());
49 this.setPrincipalId(actionItem.getPrincipalId());
50 this.setGroupId(actionItem.getGroupId());
51 this.setRequestLabel(actionItem.getRequestLabel());
52 }
53
54 }