to.etc.domui.component.meta
Interface SearchPropertyMetaModel

All Known Implementing Classes:
LookupForm.Item, SearchPropertyMetaModelImpl

public interface SearchPropertyMetaModel


Field Summary
static java.util.Comparator<SearchPropertyMetaModel> BY_ORDER
           
 
Method Summary
 java.lang.String getLookupHint()
          Returns the text to use as the control label, if defined in the metadata.
 java.lang.String getLookupLabel()
          Returns the text to use as the control label, if defined in the metadata.
 int getMinLength()
          To prevent searching over the entire database you can specify a minimum number of characters that must be present before the search is allowed on this field.
 int getOrder()
          The order of this search item in the total list of items.
 java.lang.String getPropertyName()
           
 java.util.List<PropertyMetaModel<?>> getPropertyPath()
           
 boolean isIgnoreCase()
          When T (default) the search is done in a case-independent way provided we are looking for some string value.
 

Field Detail

BY_ORDER

static final java.util.Comparator<SearchPropertyMetaModel> BY_ORDER
Method Detail

isIgnoreCase

boolean isIgnoreCase()
When T (default) the search is done in a case-independent way provided we are looking for some string value.

Returns:

getOrder

int getOrder()
The order of this search item in the total list of items. This is only used to set the display order of the items; they will be ordered by ascending [Order;Name].

Returns:

getMinLength

int getMinLength()
To prevent searching over the entire database you can specify a minimum number of characters that must be present before the search is allowed on this field. This would prevent huge searches when only a single letter is entered.

Returns:

getPropertyName

java.lang.String getPropertyName()

getPropertyPath

java.util.List<PropertyMetaModel<?>> getPropertyPath()

getLookupLabel

java.lang.String getLookupLabel()
Returns the text to use as the control label, if defined in the metadata.

Returns:

getLookupHint

java.lang.String getLookupHint()
Returns the text to use as the control label, if defined in the metadata.

Returns: