@Entity public class SearchableAttributeFloatValue extends SearchableAttributeNumericBase implements SearchableAttributeValue, Serializable
ojbConcreteClass
Constructor and Description |
---|
SearchableAttributeFloatValue()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowsCaseInsensitivity() |
boolean |
allowsRangeSearches() |
boolean |
allowsWildcards() |
String |
getAttributeDataType() |
String |
getAttributeTableName() |
protected Pattern |
getDefaultValidationPattern()
Returns a Pattern object used for validating the format of number Strings.
|
String |
getSearchableAttributeDisplayValue() |
BigDecimal |
getSearchableAttributeValue() |
Boolean |
isRangeValid(String lowerValue,
String upperValue) |
void |
setSearchableAttributeValue(BigDecimal searchableAttributeValue) |
void |
setSearchableAttributeValue(Float floatValueToTranslate)
Deprecated.
USE method setSearchableAttributeValue(BigDecimal) instead
|
void |
setupAttributeValue(ResultSet resultSet,
String columnName) |
void |
setupAttributeValue(String value) |
DocumentAttributeDecimal |
toDocumentAttribute() |
isPassesDefaultValidation
getDocumentId, getOjbConcreteClass, getRouteHeader, getSearchableAttributeKey, getSearchableAttributeValueId, setDocumentId, setOjbConcreteClass, setRouteHeader, setSearchableAttributeKey, setSearchableAttributeValueId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocumentId, getOjbConcreteClass, getRouteHeader, getSearchableAttributeKey, getSearchableAttributeValueId, isPassesDefaultValidation, setDocumentId, setOjbConcreteClass, setRouteHeader, setSearchableAttributeKey, setSearchableAttributeValueId
public SearchableAttributeFloatValue()
public void setupAttributeValue(String value)
setupAttributeValue
in interface SearchableAttributeValue
public void setupAttributeValue(ResultSet resultSet, String columnName) throws SQLException
setupAttributeValue
in interface SearchableAttributeValue
SQLException
public String getSearchableAttributeDisplayValue()
getSearchableAttributeDisplayValue
in interface SearchableAttributeValue
public String getAttributeDataType()
getAttributeDataType
in interface SearchableAttributeValue
public String getAttributeTableName()
getAttributeTableName
in interface SearchableAttributeValue
public boolean allowsWildcards()
allowsWildcards
in interface SearchableAttributeValue
public boolean allowsCaseInsensitivity()
allowsCaseInsensitivity
in interface SearchableAttributeValue
public boolean allowsRangeSearches()
allowsRangeSearches
in interface SearchableAttributeValue
public Boolean isRangeValid(String lowerValue, String upperValue)
isRangeValid
in interface SearchableAttributeValue
public BigDecimal getSearchableAttributeValue()
getSearchableAttributeValue
in interface SearchableAttributeValue
public void setSearchableAttributeValue(BigDecimal searchableAttributeValue)
@Deprecated public void setSearchableAttributeValue(Float floatValueToTranslate)
public DocumentAttributeDecimal toDocumentAttribute()
toDocumentAttribute
in interface SearchableAttributeValue
protected Pattern getDefaultValidationPattern()
SearchableAttributeNumericBase
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
getDefaultValidationPattern
in class SearchableAttributeNumericBase
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.