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
|
Method Summary |
StepField |
getField2()
Gets the second associated field. |
java.lang.String |
toString()
Returns a string representation of this CompareFieldsConstraint. |
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
- <inverse>is the value returned by
isInverse()
- <field> is the field alias returned by
FieldConstraint#getField().getAlias()
- <casesensitive> is the value returned by
isCaseSensitive()
- <operator> is the value returned by
getOperator()
- <field2> is the field alias returned by
#getField2().getAlias()
- Returns:
- A string representation of this CompareFieldsConstraint.
MMBase build 1.7.1.20041002