org.kuali.rice.kew.docsearch
Class SearchableAttributeFloatValue

java.lang.Object
  extended by org.kuali.rice.kew.docsearch.SearchableAttributeFloatValue
All Implemented Interfaces:
Serializable, WorkflowPersistable, SearchableAttributeValue

@Sequence(name="KREW_SRCH_ATTR_S",
          property="searchableAttributeValueId")
public class SearchableAttributeFloatValue
extends Object
implements WorkflowPersistable, SearchableAttributeValue

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
private static boolean ALLOWS_CASE_INSENSITIVE_SEARCH
           
private static boolean ALLOWS_RANGE_SEARCH
           
private static String ATTRIBUTE_DATABASE_TABLE_NAME
           
private static String ATTRIBUTE_XML_REPRESENTATION
           
private static String DEFAULT_FORMAT_PATTERN
           
private static String DEFAULT_VALIDATION_REGEX_EXPRESSION
           
private static boolean DEFAULT_WILDCARD_ALLOWANCE_POLICY
           
protected  String ojbConcreteClass
           
private  DocumentRouteHeaderValue routeHeader
           
private  Long routeHeaderId
           
private  String searchableAttributeKey
           
private  BigDecimal searchableAttributeValue
           
private  Long searchableAttributeValueId
           
private static long serialVersionUID
           
 
Constructor Summary
SearchableAttributeFloatValue()
          Default constructor.
 
Method Summary
 boolean allowsCaseInsensitivity()
           
 boolean allowsRangeSearches()
           
 boolean allowsWildcards()
           
 void beforeInsert()
           
private  BigDecimal convertStringToBigDecimal(String value)
           
 Object copy(boolean preserveKeys)
          Deprecated. 
 String getAttributeDataType()
           
 String getAttributeTableName()
           
 String getOjbConcreteClass()
           
 DocumentRouteHeaderValue getRouteHeader()
           
 Long getRouteHeaderId()
           
 String getSearchableAttributeDisplayValue()
           
 String getSearchableAttributeKey()
           
 BigDecimal getSearchableAttributeValue()
           
 Long getSearchableAttributeValueId()
           
 boolean isPassesDefaultValidation(String valueEntered)
           
 Boolean isRangeValid(String lowerValue, String upperValue)
           
 void setOjbConcreteClass(String ojbConcreteClass)
           
 void setRouteHeader(DocumentRouteHeaderValue routeHeader)
           
 void setRouteHeaderId(Long routeHeaderId)
           
 void setSearchableAttributeKey(String searchableAttributeKey)
           
 void setSearchableAttributeValue(BigDecimal searchableAttributeValue)
           
 void setSearchableAttributeValue(Float floatValueToTranslate)
          Deprecated. USE method setSearchableAttributeValue(BigDecimal) instead
 void setSearchableAttributeValueId(Long searchableAttributeValueId)
           
 void setupAttributeValue(ResultSet resultSet, String columnName)
           
 void setupAttributeValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

ATTRIBUTE_DATABASE_TABLE_NAME

private static final String ATTRIBUTE_DATABASE_TABLE_NAME
See Also:
Constant Field Values

DEFAULT_WILDCARD_ALLOWANCE_POLICY

private static final boolean DEFAULT_WILDCARD_ALLOWANCE_POLICY
See Also:
Constant Field Values

ALLOWS_RANGE_SEARCH

private static final boolean ALLOWS_RANGE_SEARCH
See Also:
Constant Field Values

ALLOWS_CASE_INSENSITIVE_SEARCH

private static final boolean ALLOWS_CASE_INSENSITIVE_SEARCH
See Also:
Constant Field Values

DEFAULT_VALIDATION_REGEX_EXPRESSION

private static final String DEFAULT_VALIDATION_REGEX_EXPRESSION
See Also:
Constant Field Values

ATTRIBUTE_XML_REPRESENTATION

private static final String ATTRIBUTE_XML_REPRESENTATION
See Also:
Constant Field Values

DEFAULT_FORMAT_PATTERN

private static final String DEFAULT_FORMAT_PATTERN
See Also:
Constant Field Values

searchableAttributeValueId

private Long searchableAttributeValueId

searchableAttributeKey

private String searchableAttributeKey

searchableAttributeValue

private BigDecimal searchableAttributeValue

ojbConcreteClass

protected String ojbConcreteClass

routeHeaderId

private Long routeHeaderId

routeHeader

private DocumentRouteHeaderValue routeHeader
Constructor Detail

SearchableAttributeFloatValue

public SearchableAttributeFloatValue()
Default constructor.

Method Detail

setupAttributeValue

public void setupAttributeValue(String value)
Specified by:
setupAttributeValue in interface SearchableAttributeValue

convertStringToBigDecimal

private BigDecimal convertStringToBigDecimal(String value)

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

isPassesDefaultValidation

public boolean isPassesDefaultValidation(String valueEntered)
Specified by:
isPassesDefaultValidation in interface SearchableAttributeValue

isRangeValid

public Boolean isRangeValid(String lowerValue,
                            String upperValue)
Specified by:
isRangeValid in interface SearchableAttributeValue

getOjbConcreteClass

public String getOjbConcreteClass()
Specified by:
getOjbConcreteClass in interface SearchableAttributeValue

setOjbConcreteClass

public void setOjbConcreteClass(String ojbConcreteClass)
Specified by:
setOjbConcreteClass in interface SearchableAttributeValue

getRouteHeader

public DocumentRouteHeaderValue getRouteHeader()
Specified by:
getRouteHeader in interface SearchableAttributeValue

setRouteHeader

public void setRouteHeader(DocumentRouteHeaderValue routeHeader)
Specified by:
setRouteHeader in interface SearchableAttributeValue

getRouteHeaderId

public Long getRouteHeaderId()
Specified by:
getRouteHeaderId in interface SearchableAttributeValue

setRouteHeaderId

public void setRouteHeaderId(Long routeHeaderId)
Specified by:
setRouteHeaderId in interface SearchableAttributeValue

getSearchableAttributeKey

public String getSearchableAttributeKey()
Specified by:
getSearchableAttributeKey in interface SearchableAttributeValue

setSearchableAttributeKey

public void setSearchableAttributeKey(String searchableAttributeKey)
Specified by:
setSearchableAttributeKey in interface SearchableAttributeValue

getSearchableAttributeValue

public BigDecimal getSearchableAttributeValue()
Specified by:
getSearchableAttributeValue in interface SearchableAttributeValue

setSearchableAttributeValue

public void setSearchableAttributeValue(BigDecimal searchableAttributeValue)

setSearchableAttributeValue

public void setSearchableAttributeValue(Float floatValueToTranslate)
Deprecated. USE method setSearchableAttributeValue(BigDecimal) instead


getSearchableAttributeValueId

public Long getSearchableAttributeValueId()
Specified by:
getSearchableAttributeValueId in interface SearchableAttributeValue

setSearchableAttributeValueId

public void setSearchableAttributeValueId(Long searchableAttributeValueId)
Specified by:
setSearchableAttributeValueId in interface SearchableAttributeValue

copy

@Deprecated
public Object copy(boolean preserveKeys)
Deprecated. 

Specified by:
copy in interface WorkflowPersistable

beforeInsert

public void beforeInsert()


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.