@Entity public class SearchableAttributeLongValue extends SearchableAttributeNumericBase implements SearchableAttributeValue, Serializable
ojbConcreteClass| Constructor and Description |
|---|
SearchableAttributeLongValue()
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() |
Long |
getSearchableAttributeValue() |
Boolean |
isRangeValid(String lowerValue,
String upperValue) |
void |
setSearchableAttributeValue(Long searchableAttributeValue) |
void |
setupAttributeValue(ResultSet resultSet,
String columnName) |
void |
setupAttributeValue(String value) |
DocumentAttributeInteger |
toDocumentAttribute() |
isPassesDefaultValidationgetDocumentId, getOjbConcreteClass, getRouteHeader, getSearchableAttributeKey, getSearchableAttributeValueId, setDocumentId, setOjbConcreteClass, setRouteHeader, setSearchableAttributeKey, setSearchableAttributeValueIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocumentId, getOjbConcreteClass, getRouteHeader, getSearchableAttributeKey, getSearchableAttributeValueId, isPassesDefaultValidation, setDocumentId, setOjbConcreteClass, setRouteHeader, setSearchableAttributeKey, setSearchableAttributeValueIdpublic SearchableAttributeLongValue()
public void setupAttributeValue(String value)
setupAttributeValue in interface SearchableAttributeValuepublic void setupAttributeValue(ResultSet resultSet, String columnName) throws SQLException
setupAttributeValue in interface SearchableAttributeValueSQLExceptionpublic String getSearchableAttributeDisplayValue()
getSearchableAttributeDisplayValue in interface SearchableAttributeValuepublic String getAttributeDataType()
getAttributeDataType in interface SearchableAttributeValuepublic String getAttributeTableName()
getAttributeTableName in interface SearchableAttributeValuepublic boolean allowsWildcards()
allowsWildcards in interface SearchableAttributeValuepublic boolean allowsCaseInsensitivity()
allowsCaseInsensitivity in interface SearchableAttributeValuepublic boolean allowsRangeSearches()
allowsRangeSearches in interface SearchableAttributeValuepublic Boolean isRangeValid(String lowerValue, String upperValue)
isRangeValid in interface SearchableAttributeValuepublic Long getSearchableAttributeValue()
getSearchableAttributeValue in interface SearchableAttributeValuepublic void setSearchableAttributeValue(Long searchableAttributeValue)
public DocumentAttributeInteger toDocumentAttribute()
toDocumentAttribute in interface SearchableAttributeValueprotected Pattern getDefaultValidationPattern()
SearchableAttributeNumericBasePatterns 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 SearchableAttributeNumericBaseCopyright © 2005–2016 The Kuali Foundation. All rights reserved.