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 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  
  * Abstract base class for {@link WorkflowAttribute}s.
 29  
  * 
 30  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 31  
  */
 32  0
 public abstract class AbstractWorkflowAttribute implements WorkflowAttribute {
 33  
     protected boolean required;
 34  
 
 35  
     public List<Row> getRuleRows() {
 36  0
         return Collections.EMPTY_LIST;
 37  
     }
 38  
 
 39  
     public List<Row> getRoutingDataRows() {
 40  0
         return Collections.EMPTY_LIST;
 41  
     }
 42  
 
 43  
     public String getDocContent() {
 44  0
         return "";
 45  
     }
 46  
 
 47  
     public List<RuleExtensionValue> getRuleExtensionValues() {
 48  0
         return Collections.EMPTY_LIST;
 49  
     }
 50  
 
 51  
     public List validateRoutingData(Map paramMap) {
 52  0
         return Collections.EMPTY_LIST;
 53  
     }
 54  
 
 55  
     public List validateRuleData(Map paramMap) {
 56  0
         return Collections.EMPTY_LIST;
 57  
     }
 58  
 
 59  
     public void setRequired(boolean required) {
 60  0
         this.required = required;
 61  0
     }
 62  
 
 63  
     public boolean isRequired() {
 64  0
         return required;
 65  
     }
 66  
 
 67  
     /* TODO: document these two methods ... what are these for? */
 68  
     public String getIdFieldName() {
 69  0
         return "";
 70  
     }
 71  
     public String getLockFieldName() {
 72  0
         return "";
 73  
     }
 74  
 }