org.kuali.rice.kew.docsearch
Class SearchableAttributeLongValue
java.lang.Object
org.kuali.rice.kew.docsearch.SearchableAttributeBase
org.kuali.rice.kew.docsearch.SearchableAttributeNumericBase
org.kuali.rice.kew.docsearch.SearchableAttributeLongValue
- All Implemented Interfaces:
- Serializable, SearchableAttributeValue
@Entity
public class SearchableAttributeLongValue
- extends SearchableAttributeNumericBase
- implements SearchableAttributeValue, Serializable
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.kew.docsearch.SearchableAttributeValue |
getDocumentId, getOjbConcreteClass, getRouteHeader, getSearchableAttributeKey, getSearchableAttributeValueId, isPassesDefaultValidation, setDocumentId, setOjbConcreteClass, setRouteHeader, setSearchableAttributeKey, setSearchableAttributeValueId |
SearchableAttributeLongValue
public SearchableAttributeLongValue()
- Default constructor.
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
isRangeValid
public Boolean isRangeValid(String lowerValue,
String upperValue)
- Specified by:
isRangeValid
in interface SearchableAttributeValue
getSearchableAttributeValue
public Long getSearchableAttributeValue()
- Specified by:
getSearchableAttributeValue
in interface SearchableAttributeValue
setSearchableAttributeValue
public void setSearchableAttributeValue(Long searchableAttributeValue)
toDocumentAttribute
public DocumentAttributeInteger toDocumentAttribute()
- Specified by:
toDocumentAttribute
in interface SearchableAttributeValue
getDefaultValidationPattern
protected Pattern getDefaultValidationPattern()
- Description copied from class:
SearchableAttributeNumericBase
- Returns a Pattern object used for validating the format of number Strings.
Pattern
s are immutable and thus safe for concurrent use, so it makes sense to return
a pre-compiled static instance.
The pattern should only match valid String representations of the numeric type
- Specified by:
getDefaultValidationPattern
in class SearchableAttributeNumericBase
- Returns:
- the Pattern used for validating number Strings.
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.