1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kew.rule;
17
18 import org.kuali.rice.core.api.uif.AttributeError;
19 import org.kuali.rice.kns.web.ui.Row;
20
21 import java.util.Collections;
22 import java.util.List;
23 import java.util.Map;
24
25
26
27
28
29
30
31
32 public abstract class AbstractWorkflowAttribute implements WorkflowRuleAttribute {
33 protected boolean required;
34
35 public List<Row> getRuleRows() {
36 return Collections.EMPTY_LIST;
37 }
38
39 public List<Row> getRoutingDataRows() {
40 return Collections.EMPTY_LIST;
41 }
42
43 public String getDocContent() {
44 return "";
45 }
46
47 public List<RuleExtensionValue> getRuleExtensionValues() {
48 return Collections.EMPTY_LIST;
49 }
50
51 public List<? extends AttributeError> validateRoutingData(Map paramMap) {
52 return Collections.EMPTY_LIST;
53 }
54
55 public List<? extends AttributeError> validateRuleData(Map paramMap) {
56 return Collections.EMPTY_LIST;
57 }
58
59 public void setRequired(boolean required) {
60 this.required = required;
61 }
62
63 public boolean isRequired() {
64 return required;
65 }
66
67
68 public String getIdFieldName() {
69 return "";
70 }
71 public String getLockFieldName() {
72 return "";
73 }
74 }