Coverage Report - org.kuali.rice.kew.docsearch.SearchableAttributeValue
 
Classes in this File Line Coverage Branch Coverage Complexity
SearchableAttributeValue
N/A
N/A
1
 
 1  
 /*
 2  
  * Copyright 2005-2007 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.docsearch;
 18  
 
 19  
 import java.sql.ResultSet;
 20  
 import java.sql.SQLException;
 21  
 import java.util.Map;
 22  
 
 23  
 import org.kuali.rice.kew.routeheader.DocumentRouteHeaderValue;
 24  
 
 25  
 
 26  
 /**
 27  
  * Model bean mapped to ojb that holds a single piece of searchable data for a document.
 28  
  *
 29  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 30  
  *
 31  
  */
 32  
 public interface SearchableAttributeValue {
 33  
 
 34  
         public String getAttributeDataType();
 35  
 
 36  
         public String getAttributeTableName();
 37  
 
 38  
         public boolean allowsWildcards();
 39  
 
 40  
         public boolean allowsCaseInsensitivity();
 41  
 
 42  
         public boolean allowsRangeSearches();
 43  
 
 44  
     public boolean isPassesDefaultValidation(String valueEntered);
 45  
 
 46  
     public Boolean isRangeValid(String lowerValue, String upperValue);
 47  
 
 48  
     public void setupAttributeValue(String value);
 49  
 
 50  
     public void setupAttributeValue(ResultSet resultSet, String columnName) throws SQLException;
 51  
 
 52  
     public String getSearchableAttributeDisplayValue();
 53  
 
 54  
         public String getOjbConcreteClass();
 55  
 
 56  
     public void setOjbConcreteClass(String ojbConcreteClass);
 57  
 
 58  
     public DocumentRouteHeaderValue getRouteHeader();
 59  
 
 60  
     public void setRouteHeader(DocumentRouteHeaderValue routeHeader);
 61  
 
 62  
     public Long getRouteHeaderId();
 63  
 
 64  
     public void setRouteHeaderId(Long routeHeaderId);
 65  
 
 66  
     public String getSearchableAttributeKey();
 67  
 
 68  
     public void setSearchableAttributeKey(String searchableAttributeKey);
 69  
 
 70  
     public Long getSearchableAttributeValueId();
 71  
 
 72  
     public void setSearchableAttributeValueId(Long searchableAttributeValueId);
 73  
 
 74  
     public Object getSearchableAttributeValue();
 75  
 }