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