Package org.kuali.rice.kew.docsearch
Class SearchableAttributeFloatValue
java.lang.Object
org.kuali.rice.kew.docsearch.SearchableAttributeBase
org.kuali.rice.kew.docsearch.SearchableAttributeNumericBase
org.kuali.rice.kew.docsearch.SearchableAttributeFloatValue
- All Implemented Interfaces:
Serializable,SearchableAttributeValue
@Entity
public class SearchableAttributeFloatValue
extends SearchableAttributeNumericBase
implements SearchableAttributeValue, Serializable
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Field Summary
Fields inherited from class org.kuali.rice.kew.docsearch.SearchableAttributeBase
ojbConcreteClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanprotected PatternReturns a Pattern object used for validating the format of number Strings.isRangeValid(String lowerValue, String upperValue) voidsetSearchableAttributeValue(Float floatValueToTranslate) Deprecated.USE method setSearchableAttributeValue(BigDecimal) insteadvoidsetSearchableAttributeValue(BigDecimal searchableAttributeValue) voidsetupAttributeValue(String value) voidsetupAttributeValue(ResultSet resultSet, String columnName) Methods inherited from class org.kuali.rice.kew.docsearch.SearchableAttributeNumericBase
isPassesDefaultValidationMethods inherited from class org.kuali.rice.kew.docsearch.SearchableAttributeBase
getDocumentId, getOjbConcreteClass, getRouteHeader, getSearchableAttributeKey, getSearchableAttributeValueId, setDocumentId, setOjbConcreteClass, setRouteHeader, setSearchableAttributeKey, setSearchableAttributeValueIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kuali.rice.kew.docsearch.SearchableAttributeValue
getDocumentId, getOjbConcreteClass, getRouteHeader, getSearchableAttributeKey, getSearchableAttributeValueId, isPassesDefaultValidation, setDocumentId, setOjbConcreteClass, setRouteHeader, setSearchableAttributeKey, setSearchableAttributeValueId
-
Constructor Details
-
SearchableAttributeFloatValue
public SearchableAttributeFloatValue()
-
-
Method Details
-
setupAttributeValue
- Specified by:
setupAttributeValuein interfaceSearchableAttributeValue
-
setupAttributeValue
- Specified by:
setupAttributeValuein interfaceSearchableAttributeValue- Throws:
SQLException
-
getSearchableAttributeDisplayValue
- Specified by:
getSearchableAttributeDisplayValuein interfaceSearchableAttributeValue
-
getAttributeDataType
- Specified by:
getAttributeDataTypein interfaceSearchableAttributeValue
-
getAttributeTableName
- Specified by:
getAttributeTableNamein interfaceSearchableAttributeValue
-
allowsWildcards
public boolean allowsWildcards()- Specified by:
allowsWildcardsin interfaceSearchableAttributeValue
-
allowsCaseInsensitivity
public boolean allowsCaseInsensitivity()- Specified by:
allowsCaseInsensitivityin interfaceSearchableAttributeValue
-
allowsRangeSearches
public boolean allowsRangeSearches()- Specified by:
allowsRangeSearchesin interfaceSearchableAttributeValue
-
isRangeValid
- Specified by:
isRangeValidin interfaceSearchableAttributeValue
-
getSearchableAttributeValue
- Specified by:
getSearchableAttributeValuein interfaceSearchableAttributeValue
-
setSearchableAttributeValue
-
setSearchableAttributeValue
Deprecated.USE method setSearchableAttributeValue(BigDecimal) instead -
toDocumentAttribute
- Specified by:
toDocumentAttributein interfaceSearchableAttributeValue
-
getDefaultValidationPattern
Description copied from class:SearchableAttributeNumericBaseReturns a Pattern object used for validating the format of number Strings.Patterns 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:
getDefaultValidationPatternin classSearchableAttributeNumericBase- Returns:
- the Pattern used for validating number Strings.
-