org.mmbase.storage.search
Interface CompareFieldsConstraint

All Superinterfaces:
Constraint, FieldCompareConstraint, FieldConstraint
All Known Implementing Classes:
BasicCompareFieldsConstraint

public interface CompareFieldsConstraint
extends FieldCompareConstraint

A constraint that compares the value of two stepfields.

Since:
MMBase-1.7
Version:
$Id: CompareFieldsConstraint.java 41186 2010-02-26 17:54:31Z michiel $
Author:
Rob van Maris

Field Summary
 
Fields inherited from interface org.mmbase.storage.search.FieldCompareConstraint
EQUAL, GREATER, GREATER_EQUAL, LESS, LESS_EQUAL, LIKE, NOT_EQUAL, OPERATOR_DESCRIPTIONS, REGEXP
 
Method Summary
 StepField getField2()
          Gets the second associated field.
 String toString()
          Returns a string representation of this CompareFieldsConstraint.
 
Methods inherited from interface org.mmbase.storage.search.FieldCompareConstraint
getOperator
 
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

getField2

StepField getField2()
Gets the second associated field.


toString

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

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


MMBase 2.0-SNAPSHOT - null