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 | 0 | public class AppSpecificRouteRecipient implements Serializable { |
31 | |
|
32 | |
private static final long serialVersionUID = 6587140192756322878L; |
33 | |
|
34 | 0 | 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 String actionRequestId; |
41 | |
|
42 | |
public String getActionRequested() { |
43 | 0 | return actionRequested; |
44 | |
} |
45 | |
public void setActionRequested(String actionRequested) { |
46 | 0 | this.actionRequested = actionRequested; |
47 | 0 | } |
48 | |
public String getId() { |
49 | 0 | return id; |
50 | |
} |
51 | |
public void setId(String id) { |
52 | 0 | this.id = id; |
53 | 0 | } |
54 | |
public String getType() { |
55 | 0 | return type; |
56 | |
} |
57 | |
public void setType(String type) { |
58 | 0 | this.type = type; |
59 | 0 | } |
60 | |
|
61 | |
public String getNamespaceCode() { |
62 | 0 | return namespaceCode; |
63 | |
} |
64 | |
public void setNamespaceCode(String namespaceCode) { |
65 | 0 | this.namespaceCode = namespaceCode; |
66 | 0 | } |
67 | |
|
68 | |
public String getActionRequestId() { |
69 | 0 | return actionRequestId; |
70 | |
} |
71 | |
|
72 | |
public void setActionRequestId(String actionRequestId) { |
73 | 0 | this.actionRequestId = actionRequestId; |
74 | 0 | } |
75 | |
|
76 | |
public String getActionRequestedValue(){ |
77 | 0 | if(getActionRequested() != null && !getActionRequested().trim().equals("")){ |
78 | 0 | return (String) actionRequestCds.get(getActionRequested()); |
79 | |
} |
80 | 0 | return null; |
81 | |
} |
82 | |
|
83 | |
} |