org.kuali.rice.kew.docsearch
Class SearchableAttributeStringValue

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

@Sequence(name="KREW_SRCH_ATTR_S",
          property="searchableAttributeValueId")
public class SearchableAttributeStringValue
extends java.lang.Object
implements WorkflowPersistable, SearchableAttributeValue

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

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

Field Detail

ojbConcreteClass

protected java.lang.String ojbConcreteClass
Constructor Detail

SearchableAttributeStringValue

public SearchableAttributeStringValue()
Default constructor.

Method Detail

setupAttributeValue

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

setupAttributeValue

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

getSearchableAttributeDisplayValue

public java.lang.String getSearchableAttributeDisplayValue()
Specified by:
getSearchableAttributeDisplayValue in interface SearchableAttributeValue

getAttributeDataType

public java.lang.String getAttributeDataType()
Specified by:
getAttributeDataType in interface SearchableAttributeValue

getAttributeTableName

public java.lang.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(java.lang.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 java.lang.Boolean isRangeValid(java.lang.String lowerValue,
                                      java.lang.String upperValue)
Specified by:
isRangeValid in interface SearchableAttributeValue

getOjbConcreteClass

public java.lang.String getOjbConcreteClass()
Specified by:
getOjbConcreteClass in interface SearchableAttributeValue

setOjbConcreteClass

public void setOjbConcreteClass(java.lang.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

getRouteHeaderId

public java.lang.Long getRouteHeaderId()
Specified by:
getRouteHeaderId in interface SearchableAttributeValue

setRouteHeaderId

public void setRouteHeaderId(java.lang.Long routeHeaderId)
Specified by:
setRouteHeaderId in interface SearchableAttributeValue

getSearchableAttributeKey

public java.lang.String getSearchableAttributeKey()
Specified by:
getSearchableAttributeKey in interface SearchableAttributeValue

setSearchableAttributeKey

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

getSearchableAttributeValue

public java.lang.String getSearchableAttributeValue()
Specified by:
getSearchableAttributeValue in interface SearchableAttributeValue

setSearchableAttributeValue

public void setSearchableAttributeValue(java.lang.String searchableAttributeValue)

getSearchableAttributeValueId

public java.lang.Long getSearchableAttributeValueId()
Specified by:
getSearchableAttributeValueId in interface SearchableAttributeValue

setSearchableAttributeValueId

public void setSearchableAttributeValueId(java.lang.Long searchableAttributeValueId)
Specified by:
setSearchableAttributeValueId in interface SearchableAttributeValue

copy

public java.lang.Object copy(boolean preserveKeys)
Specified by:
copy in interface WorkflowPersistable

beforeInsert

public void beforeInsert()


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