|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeLookupSettings
Defines configuration for an attribute which may be used as part of a lookups. This includes indicating if the field is displayed in the lookup criteria or lookup result set, as well as defining information about this field if it used as part of a range-based lookup.
The range bounds allows the party executing the lookup against this attribute to enter a value for both ends (lower and upper bounds) in order to determine if the attribute is "between" those two values.
Note that an attribute range only makes sense if the DataType
of the attribute is
a date or numerical data type. The consumer of these settings is free to ignore the given
attribute range information if it does not believe it is possible to successfully present a range-based
lookup option based on the data type (or other settings) of the AttributeField
.
Method Summary | |
---|---|
String |
getLowerBoundLabel()
Returns the label to use for the lower bound of the range. |
String |
getLowerBoundName()
Returns the name to assign to the lower bound of the range. |
String |
getUpperBoundLabel()
Returns the label to use for the upper bound of the range. |
String |
getUpperBoundName()
Returns the name to assign to the upper bound of the range. |
Boolean |
isCaseSensitive()
Indicates if lookups which use this attribute should execute the lookup against this attribute in a case sensitive fashion. |
boolean |
isInCriteria()
Returns true if this field should be included as part of the lookup criteria, false if not. |
boolean |
isInResults()
Returns true if this field should be included in the result set of the lookup, false if not. |
boolean |
isLowerBoundInclusive()
Returns true if the lower bound should be treated as inclusive when executing a ranged lookup against the attribute, false if it should be treated as exclusive. |
boolean |
isRanged()
Returns true if lookups against this field should be handled as a lookup operation supporting a range-based search of data against the field. |
boolean |
isUpperBoundInclusive()
Returns true if the upper bound should be treated as inclusive when executing a ranged lookup against the attribute, false if it should be treated as exclusive. |
Method Detail |
---|
boolean isInCriteria()
boolean isInResults()
boolean isRanged()
String getLowerBoundName()
String getLowerBoundLabel()
boolean isLowerBoundInclusive()
String getUpperBoundName()
String getUpperBoundLabel()
boolean isUpperBoundInclusive()
Boolean isCaseSensitive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |