org.mmbase.storage.search.implementation
Class BasicFieldNullConstraint

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

public class BasicFieldNullConstraint
extends BasicFieldConstraint
implements FieldNullConstraint, Serializable

Basic implementation.

Since:
MMBase-1.7
Version:
$Id: BasicFieldNullConstraint.java 41969 2010-04-20 11:54:02Z michiel $
Author:
Rob van Maris
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mmbase.storage.search.implementation.BasicConstraint
modifiable
 
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, matches, setCaseSensitive
 
Methods inherited from class org.mmbase.storage.search.implementation.BasicConstraint
getBasicSupportLevel, isInverse, setInverse, setUnmodifiable
 
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, matches
 
Methods inherited from interface org.mmbase.storage.search.Constraint
getBasicSupportLevel, isInverse, setUnmodifiable
 

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
Parameters:
obj - The object to compare with.
Returns:
true if the objects are equal, false otherwise.

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
Returns:
A string representation of this FieldNullConstraint.


MMBase 2.0-SNAPSHOT - null