org.mmbase.storage.search.implementation
Class BasicFieldValueInQueryConstraint

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.BasicFieldValueInQueryConstraint
All Implemented Interfaces:
Serializable, Constraint, FieldConstraint, FieldValueInQueryConstraint

public class BasicFieldValueInQueryConstraint
extends BasicFieldConstraint
implements FieldValueInQueryConstraint, Serializable

Basic implementation.

Since:
MMBase-1.9.1
Version:
$Id: BasicFieldValueInQueryConstraint.java 42799 2010-07-05 15:26:47Z michiel $
Author:
Michiel Meeuwissen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mmbase.storage.search.implementation.BasicConstraint
modifiable
 
Constructor Summary
BasicFieldValueInQueryConstraint(StepField field, SearchQuery q)
          Constructor.
 
Method Summary
 boolean equals(Object obj)
          Compares this constraint to the specified object.
 SearchQuery getInQuery()
           
 int hashCode()
           
 String toString()
          Returns a string representation of this FieldValueInConstraint.
 
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

BasicFieldValueInQueryConstraint

public BasicFieldValueInQueryConstraint(StepField field,
                                        SearchQuery q)
Constructor.

Parameters:
field - The associated field.
Method Detail

getInQuery

public SearchQuery getInQuery()
Specified by:
getInQuery in interface FieldValueInQueryConstraint

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: FieldValueInQueryConstraint
Returns a string representation of this FieldValueInConstraint. The string representation has the form "FieldValueInConstraint(inverse:<:inverse>, field:<field>, casesensitive:<casesensitive>, values:<values>)" where

Specified by:
toString in interface FieldValueInQueryConstraint
Overrides:
toString in class BasicFieldConstraint
Returns:
A string representation of this FieldValueInConstraint.


MMBase 2.0-SNAPSHOT - null