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,v 1.2 2003/03/10 11:50:43 pierre Exp $
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
 
Method Summary
 StepField getField2()
          Gets the second associated field.
 java.lang.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
 
Methods inherited from interface org.mmbase.storage.search.Constraint
equals, getBasicSupportLevel, hashCode, isInverse
 

Method Detail

getField2

public StepField getField2()
Gets the second associated field.


toString

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

Returns:
A string representation of this CompareFieldsConstraint.


MMBase build 1.7.1.20041002