1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.rice.kew.web;
18
19 import java.io.Serializable;
20 import java.util.Map;
21
22 import org.kuali.rice.kew.util.CodeTranslator;
23
24
25
26
27
28
29
30 public class AppSpecificRouteRecipient implements Serializable {
31
32 private static final long serialVersionUID = 6587140192756322878L;
33
34 private static Map actionRequestCds = CodeTranslator.arLabels;
35
36 protected String type;
37 protected String actionRequested;
38 protected String id;
39 protected String namespaceCode;
40 protected Long actionRequestId;
41
42 public String getActionRequested() {
43 return actionRequested;
44 }
45 public void setActionRequested(String actionRequested) {
46 this.actionRequested = actionRequested;
47 }
48 public String getId() {
49 return id;
50 }
51 public void setId(String id) {
52 this.id = id;
53 }
54 public String getType() {
55 return type;
56 }
57 public void setType(String type) {
58 this.type = type;
59 }
60
61 public String getNamespaceCode() {
62 return namespaceCode;
63 }
64 public void setNamespaceCode(String namespaceCode) {
65 this.namespaceCode = namespaceCode;
66 }
67
68 public Long getActionRequestId() {
69 return actionRequestId;
70 }
71
72 public void setActionRequestId(Long actionRequestId) {
73 this.actionRequestId = actionRequestId;
74 }
75
76 public String getActionRequestedValue(){
77 if(getActionRequested() != null && !getActionRequested().trim().equals("")){
78 return (String) actionRequestCds.get(getActionRequested());
79 }
80 return null;
81 }
82
83 }