org.apache.james.mailboxmanager
Class SearchQuery.CustomFlagCriterion

java.lang.Object
  extended by org.apache.james.mailboxmanager.SearchQuery.Criterion
      extended by org.apache.james.mailboxmanager.SearchQuery.CustomFlagCriterion
Enclosing class:
SearchQuery

public static final class SearchQuery.CustomFlagCriterion
extends SearchQuery.Criterion

Filters on a custom flag valuation.


Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getFlag()
          Gets the custom flag to be search.
 SearchQuery.BooleanOperator getOperator()
          Gets the value to be tested.
 int hashCode()
           
 java.lang.String toString()
          Constructs a String with all attributes in name = value format.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getFlag

public final java.lang.String getFlag()
Gets the custom flag to be search.

Returns:
the flag name, not null

getOperator

public final SearchQuery.BooleanOperator getOperator()
Gets the value to be tested.

Returns:
the BooleanOperator, not null

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

toString

public java.lang.String toString()
Constructs a String with all attributes in name = value format.

Overrides:
toString in class java.lang.Object
Returns:
a String representation of this object.


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.