org.mmbase.storage.search
Interface FieldValueBetweenConstraint

Package class diagram package 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 41186 2010-02-26 17:54:31Z michiel $
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, matches
 
Methods inherited from interface org.mmbase.storage.search.Constraint
equals, getBasicSupportLevel, hashCode, isInverse, setUnmodifiable
 

Method Detail

getLowerLimit

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


getUpperLimit

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


toString

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

Overrides:
toString in class Object
Returns:
A string representation of this FieldValueInConstraint.


MMBase2 Bridge 2.0-SNAPSHOT - 2013-05-29T22:05