Clover Coverage Report - Implementation 2.0.0-SNAPSHOT
Coverage timestamp: Wed Dec 31 1969 19:00:00 EST
../../../../../img/srcFileCovDistChart0.png 0% of files have more coverage
10   73   10   1
0   38   1   10
10     1  
1    
 
  AbstractWorkflowAttribute       Line # 31 10 0% 10 20 0% 0.0
 
No Tests
 
1    /*
2    * Copyright 2005-2008 The Kuali Foundation
3    *
4    *
5    * Licensed under the Educational Community License, Version 2.0 (the "License");
6    * you may not use this file except in compliance with the License.
7    * You may obtain a copy of the License at
8    *
9    * http://www.opensource.org/licenses/ecl2.php
10    *
11    * Unless required by applicable law or agreed to in writing, software
12    * distributed under the License is distributed on an "AS IS" BASIS,
13    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    * See the License for the specific language governing permissions and
15    * limitations under the License.
16    */
17    package org.kuali.rice.kew.rule;
18   
19    import java.util.Collections;
20    import java.util.List;
21    import java.util.Map;
22   
23    import org.kuali.rice.kns.web.ui.Row;
24   
25   
26    /**
27    * Abstract base class for {@link WorkflowAttribute}s.
28    *
29    * @author Kuali Rice Team (rice.collab@kuali.org)
30    */
 
31    public abstract class AbstractWorkflowAttribute implements WorkflowAttribute {
32    protected boolean required;
33   
 
34  0 toggle public List<Row> getRuleRows() {
35  0 return Collections.EMPTY_LIST;
36    }
37   
 
38  0 toggle public List<Row> getRoutingDataRows() {
39  0 return Collections.EMPTY_LIST;
40    }
41   
 
42  0 toggle public String getDocContent() {
43  0 return "";
44    }
45   
 
46  0 toggle public List<RuleExtensionValue> getRuleExtensionValues() {
47  0 return Collections.EMPTY_LIST;
48    }
49   
 
50  0 toggle public List validateRoutingData(Map paramMap) {
51  0 return Collections.EMPTY_LIST;
52    }
53   
 
54  0 toggle public List validateRuleData(Map paramMap) {
55  0 return Collections.EMPTY_LIST;
56    }
57   
 
58  0 toggle public void setRequired(boolean required) {
59  0 this.required = required;
60    }
61   
 
62  0 toggle public boolean isRequired() {
63  0 return required;
64    }
65   
66    /* TODO: document these two methods ... what are these for? */
 
67  0 toggle public String getIdFieldName() {
68  0 return "";
69    }
 
70  0 toggle public String getLockFieldName() {
71  0 return "";
72    }
73    }