|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
org.eclipse.persistence.jpa.internal.jpql.util.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> |
filter1The first Filter used to accept the value. |
protected Filter<T> |
filter2The second Filter used to accept the value. |
private static long |
serialVersionUIDThe version number of this class which is used during deserialization to verify that the sender and receiver of a serialized object have loaded classes for that object that are compatible with respect to serialization. |
| 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 | |
|---|---|
private void |
checkFilter1(Filter<T> filter) |
private void |
checkFilter2(Filter<T> filter) |
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.internal.jpql.util.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.private static final long serialVersionUID
| 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 |
|---|
private void checkFilter1(Filter<T> filter)
private void checkFilter2(Filter<T> filter)
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
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||