|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.sdo.helper.extension.XPathHelper.QueryPart
public class XPathHelper.QueryPart
A QueryPart knows the name of the property to be queried against on a given DataObject, as well as the value to be used in the comparison.
Constructor Summary | |
---|---|
XPathHelper.QueryPart(java.lang.String query)
This constructor breaks the provided query into property name and query value parts. |
|
XPathHelper.QueryPart(java.lang.String property,
java.lang.String value,
int op)
This constructor sets a logical operator and breaks the provided query into property name and query value parts. |
Method Summary | |
---|---|
boolean |
evaluate(SDODataObject dao)
Indicate if the query represented by this QueryPart evaluates to true or false when executed on a given DataObject. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XPathHelper.QueryPart(java.lang.String query)
query
- public XPathHelper.QueryPart(java.lang.String property, java.lang.String value, int op)
query
- Method Detail |
---|
public boolean evaluate(SDODataObject dao)
dao
-
public java.lang.String toString()
toString
in class java.lang.Object
|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |