org.mmbase.storage.search
Interface FieldValueBetweenConstraint

All Superinterfaces:
Constraint, FieldConstraint
All Known Implementing Classes:
BasicFieldValueBetweenConstraint

public interface FieldValueBetweenConstraint
extends FieldConstraint

A constraint that restricts the value of a stepfield to be in a specified range of values (numerical or string).

This corresponds to the use of "between ... and ..." in SQL SELECT-syntax.

Since:
MMBase-1.7
Version:
$Id: FieldValueBetweenConstraint.java,v 1.6 2004/12/23 17:31:05 pierre Exp $
Author:
Rob van Maris

Method Summary
 Object getLowerLimit()
          Gets the value of the lower limit of the range specified for this constraint.
 Object getUpperLimit()
          Gets the value of the upper limit of the range specified for this constraint.
 String toString()
          Returns a string representation of this FieldValueBetweenConstraint.
 
Methods inherited from interface org.mmbase.storage.search.FieldConstraint
getField, isCaseSensitive
 
Methods inherited from interface org.mmbase.storage.search.Constraint
equals, getBasicSupportLevel, hashCode, isInverse
 

Method Detail

getLowerLimit

public Object getLowerLimit()
Gets the value of the lower limit of the range specified for this constraint.


getUpperLimit

public Object getUpperLimit()
Gets the value of the upper limit of the range specified for this constraint.


toString

public String toString()
Returns a string representation of this FieldValueBetweenConstraint. The string representation has the form "FieldValueBetweenConstraint(inverse:<:inverse>, field:<field>, casesensitive:<casesensitive>, lower:<lowerLimit>, upper:<upperLimit>)" where

Returns:
A string representation of this FieldValueInConstraint.


MMBase build 1.8.1.20060716