|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.mailboxmanager.SearchQuery.Criterion
org.apache.james.mailboxmanager.SearchQuery.ConjunctionCriterion
public static final class SearchQuery.ConjunctionCriterion
Conjuction applying to the contained criteria. getType() indicates
how the conjoined criteria should be related.
| Field Summary | |
|---|---|
static int |
AND
Logical AND |
static int |
NOR
Logical NOT |
static int |
OR
Logical OR |
| Constructor Summary | |
|---|---|
SearchQuery.ConjunctionCriterion(int type,
java.util.List criteria)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.List |
getCriteria()
Gets the criteria related through this conjuction. |
int |
getType()
Gets the type of conjunction. |
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 |
| Field Detail |
|---|
public static final int AND
AND
public static final int OR
OR
public static final int NOR
NOT
| Constructor Detail |
|---|
public SearchQuery.ConjunctionCriterion(int type,
java.util.List criteria)
| Method Detail |
|---|
public final java.util.List getCriteria()
List of SearchQuery.Criterionpublic final int getType()
AND, OR or NORpublic int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public java.lang.String toString()
String with all attributes in name =
value format.
toString in class java.lang.ObjectString representation of this object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||