org.kuali.rice.kew.docsearch
Class SearchableAttributeStringValue

java.lang.Object
  extended by org.kuali.rice.kew.docsearch.SearchableAttributeStringValue
All Implemented Interfaces:
Serializable, SearchableAttributeValue

@Entity
public class SearchableAttributeStringValue
extends Object
implements SearchableAttributeValue, Serializable

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
protected  String ojbConcreteClass
           
 
Constructor Summary
SearchableAttributeStringValue()
          Default constructor.
 
Method Summary
 boolean allowsCaseInsensitivity()
           
 boolean allowsRangeSearches()
           
 boolean allowsWildcards()
           
 void beforeInsert()
           
 String getAttributeDataType()
           
 String getAttributeTableName()
           
 String getDocumentId()
           
 String getOjbConcreteClass()
           
 DocumentRouteHeaderValue getRouteHeader()
           
 String getSearchableAttributeDisplayValue()
           
 String getSearchableAttributeKey()
           
 String getSearchableAttributeValue()
           
 String getSearchableAttributeValueId()
           
 boolean isPassesDefaultValidation(String valueEntered)
           
 Boolean isRangeValid(String lowerValue, String upperValue)
           
 void setDocumentId(String documentId)
           
 void setOjbConcreteClass(String ojbConcreteClass)
           
 void setRouteHeader(DocumentRouteHeaderValue routeHeader)
           
 void setSearchableAttributeKey(String searchableAttributeKey)
           
 void setSearchableAttributeValue(String searchableAttributeValue)
           
 void setSearchableAttributeValueId(String searchableAttributeValueId)
           
 void setupAttributeValue(ResultSet resultSet, String columnName)
           
 void setupAttributeValue(String value)
           
 DocumentAttributeString toDocumentAttribute()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ojbConcreteClass

protected String ojbConcreteClass
Constructor Detail

SearchableAttributeStringValue

public SearchableAttributeStringValue()
Default constructor.

Method Detail

setupAttributeValue

public void setupAttributeValue(String value)
Specified by:
setupAttributeValue in interface SearchableAttributeValue

setupAttributeValue

public void setupAttributeValue(ResultSet resultSet,
                                String columnName)
                         throws SQLException
Specified by:
setupAttributeValue in interface SearchableAttributeValue
Throws:
SQLException

getSearchableAttributeDisplayValue

public String getSearchableAttributeDisplayValue()
Specified by:
getSearchableAttributeDisplayValue in interface SearchableAttributeValue

getAttributeDataType

public String getAttributeDataType()
Specified by:
getAttributeDataType in interface SearchableAttributeValue

getAttributeTableName

public String getAttributeTableName()
Specified by:
getAttributeTableName in interface SearchableAttributeValue

allowsWildcards

public boolean allowsWildcards()
Specified by:
allowsWildcards in interface SearchableAttributeValue

allowsCaseInsensitivity

public boolean allowsCaseInsensitivity()
Specified by:
allowsCaseInsensitivity in interface SearchableAttributeValue

allowsRangeSearches

public boolean allowsRangeSearches()
Specified by:
allowsRangeSearches in interface SearchableAttributeValue

isPassesDefaultValidation

public boolean isPassesDefaultValidation(String valueEntered)
Specified by:
isPassesDefaultValidation in interface SearchableAttributeValue
Returns:
true if the valueEntered parameter is not null and is equal to or less than the specified max length defined by STRING_MAX_LENGTH
See Also:
org.kuali.rice.kew.docsearch.SearchableAttributeValue#isPassesDefaultValidation()

isRangeValid

public Boolean isRangeValid(String lowerValue,
                            String upperValue)
Specified by:
isRangeValid in interface SearchableAttributeValue

getOjbConcreteClass

public String getOjbConcreteClass()
Specified by:
getOjbConcreteClass in interface SearchableAttributeValue

setOjbConcreteClass

public void setOjbConcreteClass(String ojbConcreteClass)
Specified by:
setOjbConcreteClass in interface SearchableAttributeValue

getRouteHeader

public DocumentRouteHeaderValue getRouteHeader()
Specified by:
getRouteHeader in interface SearchableAttributeValue

setRouteHeader

public void setRouteHeader(DocumentRouteHeaderValue routeHeader)
Specified by:
setRouteHeader in interface SearchableAttributeValue

getDocumentId

public String getDocumentId()
Specified by:
getDocumentId in interface SearchableAttributeValue

setDocumentId

public void setDocumentId(String documentId)
Specified by:
setDocumentId in interface SearchableAttributeValue

getSearchableAttributeKey

public String getSearchableAttributeKey()
Specified by:
getSearchableAttributeKey in interface SearchableAttributeValue

setSearchableAttributeKey

public void setSearchableAttributeKey(String searchableAttributeKey)
Specified by:
setSearchableAttributeKey in interface SearchableAttributeValue

getSearchableAttributeValue

public String getSearchableAttributeValue()
Specified by:
getSearchableAttributeValue in interface SearchableAttributeValue

setSearchableAttributeValue

public void setSearchableAttributeValue(String searchableAttributeValue)

getSearchableAttributeValueId

public String getSearchableAttributeValueId()
Specified by:
getSearchableAttributeValueId in interface SearchableAttributeValue

setSearchableAttributeValueId

public void setSearchableAttributeValueId(String searchableAttributeValueId)
Specified by:
setSearchableAttributeValueId in interface SearchableAttributeValue

beforeInsert

public void beforeInsert()

toDocumentAttribute

public DocumentAttributeString toDocumentAttribute()
Specified by:
toDocumentAttribute in interface SearchableAttributeValue


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.