|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.persistence.jpa.jpql.util.filter.CompoundFilter<T>
public abstract class CompoundFilter<T>
This filter provides a simple framework for combining the behavior of a pair of filters.
| Field Summary | |
|---|---|
protected Filter<T> |
filter1
The first Filter used to accept the value. |
protected Filter<T> |
filter2
The second Filter used to accept the value. |
| Constructor Summary | |
|---|---|
protected |
CompoundFilter(Filter<T> filter1,
Filter<T> filter2)
Creates a new CompoundFilter that will "accept" any object that is accept by both
of the specified wrapped filters. |
| Method Summary | |
|---|---|
CompoundFilter<T> |
clone()
|
boolean |
equals(java.lang.Object object)
|
Filter<T> |
getFilter1()
Returns the left Filter of this compound filter. |
Filter<T> |
getFilter2()
Returns the second Filter of this compound filter. |
int |
hashCode()
|
protected abstract java.lang.String |
operatorString()
Returns a string representation of the filter's operator. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.persistence.jpa.jpql.util.filter.Filter |
|---|
accept |
| Field Detail |
|---|
protected final Filter<T> filter1
Filter used to accept the value.
protected final Filter<T> filter2
Filter used to accept the value.
| Constructor Detail |
|---|
protected CompoundFilter(Filter<T> filter1,
Filter<T> filter2)
CompoundFilter that will "accept" any object that is accept by both
of the specified wrapped filters.
filter1 - The first Filter used to accept the valuefilter2 - The second Filter used to accept the value| Method Detail |
|---|
public CompoundFilter<T> clone()
clone in class java.lang.Objectpublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic Filter<T> getFilter1()
Filter of this compound filter.
Filterpublic Filter<T> getFilter2()
Filter of this compound filter.
Filterpublic int hashCode()
hashCode in class java.lang.Objectprotected abstract java.lang.String operatorString()
public java.lang.String toString()
toString in class java.lang.Object
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||