org.mmbase.storage.search.implementation
Class BasicFieldNullConstraint

java.lang.Object
  extended byorg.mmbase.storage.search.implementation.BasicConstraint
      extended byorg.mmbase.storage.search.implementation.BasicFieldConstraint
          extended byorg.mmbase.storage.search.implementation.BasicFieldNullConstraint
All Implemented Interfaces:
Constraint, FieldConstraint, FieldNullConstraint

public class BasicFieldNullConstraint
extends BasicFieldConstraint
implements FieldNullConstraint

Basic implementation.

Since:
MMBase-1.7
Version:
$Id: BasicFieldNullConstraint.java,v 1.4 2005/04/25 14:56:57 pierre Exp $
Author:
Rob van Maris

Constructor Summary
BasicFieldNullConstraint(StepField field)
          Constructor.
 
Method Summary
 boolean equals(Object obj)
          Compares this constraint to the specified object.
 int hashCode()
           
 String toString()
          Returns a string representation of this FieldNullConstraint.
 
Methods inherited from class org.mmbase.storage.search.implementation.BasicFieldConstraint
getField, getFieldName, isCaseSensitive, setCaseSensitive
 
Methods inherited from class org.mmbase.storage.search.implementation.BasicConstraint
getBasicSupportLevel, isInverse, setInverse
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mmbase.storage.search.FieldConstraint
getField, isCaseSensitive
 
Methods inherited from interface org.mmbase.storage.search.Constraint
getBasicSupportLevel, isInverse
 

Constructor Detail

BasicFieldNullConstraint

public BasicFieldNullConstraint(StepField field)
Constructor.

Parameters:
field - The associated field.
Throws:
IllegalArgumentException - when an invalid argument is supplied.
Method Detail

equals

public boolean equals(Object obj)
Description copied from interface: Constraint
Compares this constraint to the specified object. The result is true if and only if the argument is a non-null Constraint object representing the same constraint(s).

Specified by:
equals in interface Constraint
Overrides:
equals in class BasicFieldConstraint

hashCode

public int hashCode()
Specified by:
hashCode in interface Constraint
Overrides:
hashCode in class BasicFieldConstraint

toString

public String toString()
Description copied from interface: FieldNullConstraint
Returns a string representation of this FieldNullConstraint. The string representation has the form "FieldNullConstraint(inverse:<:inverse>, field:<field>, casesensitive:<casesensitive>)" where

Specified by:
toString in interface FieldNullConstraint
Overrides:
toString in class BasicFieldConstraint


MMBase build 1.8.1.20060716