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 41186 2010-02-26 17:54:31Z michiel $
Author:
Rob van Maris

Method Summary
 SortedSet<Object> 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, matches
 
Methods inherited from interface org.mmbase.storage.search.Constraint
equals, getBasicSupportLevel, hashCode, isInverse, setUnmodifiable
 

Method Detail

getValues

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


toString

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

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


MMBase 2.0-SNAPSHOT - null