org.mmbase.storage.search
Interface FieldValueInConstraint

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

public interface FieldValueInConstraint
extends FieldConstraint

A constraint that restricts the value of a stepfield to be in a specified list of values.

This corresponds to the use of "in (...)" in SQL SELECT-syntax.

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

Method Summary
 SortedSet getValues()
          Gets the list of values that is specified for this constraint.
 String toString()
          Returns a string representation of this FieldValueInConstraint.
 
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

getValues

public SortedSet getValues()
Gets the list of values that is specified for this constraint.


toString

public String toString()
Returns a string representation of this FieldValueInConstraint. The string representation has the form "FieldValueInConstraint(inverse:<:inverse>, field:<field>, casesensitive:<casesensitive>, values:<values>)" where

Returns:
A string representation of this FieldValueInConstraint.


MMBase build 1.8.1.20060716