Coverage Report - org.kuali.rice.kew.rule.AbstractWorkflowAttribute
 
Classes in this File Line Coverage Branch Coverage Complexity
AbstractWorkflowAttribute
0%
0/12
N/A
1
 
 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  0
 public abstract class AbstractWorkflowAttribute implements WorkflowAttribute {
 32  
     protected boolean required;
 33  
 
 34  
     public List<Row> getRuleRows() {
 35  0
         return Collections.EMPTY_LIST;
 36  
     }
 37  
 
 38  
     public List<Row> getRoutingDataRows() {
 39  0
         return Collections.EMPTY_LIST;
 40  
     }
 41  
 
 42  
     public String getDocContent() {
 43  0
         return "";
 44  
     }
 45  
 
 46  
     public List<RuleExtensionValue> getRuleExtensionValues() {
 47  0
         return Collections.EMPTY_LIST;
 48  
     }
 49  
 
 50  
     public List validateRoutingData(Map paramMap) {
 51  0
         return Collections.EMPTY_LIST;
 52  
     }
 53  
 
 54  
     public List validateRuleData(Map paramMap) {
 55  0
         return Collections.EMPTY_LIST;
 56  
     }
 57  
 
 58  
     public void setRequired(boolean required) {
 59  0
         this.required = required;
 60  0
     }
 61  
 
 62  
     public boolean isRequired() {
 63  0
         return required;
 64  
     }
 65  
 
 66  
     /* TODO: document these two methods ... what are these for? */
 67  
     public String getIdFieldName() {
 68  0
         return "";
 69  
     }
 70  
     public String getLockFieldName() {
 71  0
         return "";
 72  
     }
 73  
 }