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.5 2003/11/27 17:58:41 robmaris Exp $
Author:
Rob van Maris

Method Summary
 java.lang.String getLowerLimit()
          Gets the value of the lower limit of the range specified for this constraint, represented by a string.
 java.lang.String getUpperLimit()
          Gets the value of the upper limit of the range specified for this constraint, represented by a string.
 java.lang.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 java.lang.String getLowerLimit()
Gets the value of the lower limit of the range specified for this constraint, represented by a string.

A numerical value is represented by a string using the standard floating point format. An integral numerical value, however, is represented by a string using the standard integer format, i.e. without the decimal point (e.g. "123" instead of "123.0").


getUpperLimit

public java.lang.String getUpperLimit()
Gets the value of the upper limit of the range specified for this constraint, represented by a string.

A numerical value is represented by a string using the standard floating point format. An integral numerical value, however, is represented by a string using the standard integer format, i.e. without the decimal point (e.g. "123" instead of "123.0").


toString

public java.lang.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.7.1.20041002