@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() |
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 SearchableAttributeLongValue()
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 Long getSearchableAttributeValue()
getSearchableAttributeValue
in interface SearchableAttributeValue
public void setSearchableAttributeValue(Long searchableAttributeValue)
public DocumentAttributeInteger 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.