|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Path
A path represents a traversal into fields of a candidate object. Equivalent paths should compare equal.
| Method Summary | |
|---|---|
void |
get(FieldMetaData field,
boolean nullTraversal)
Traverse into the given field of the current object, and update the current object to that field value. |
void |
get(FieldMetaData fmd,
XMLMetaData meta)
Traverse into the given field that maps to xml column, and update the current object to that field value. |
void |
get(XMLMetaData meta,
String name)
Traverse into the gevin xpath name of the current object, and update the current object to that xpath field. |
String |
getCorrelationVar()
|
String |
getSchemaAlias()
|
XMLMetaData |
getXmlMapping()
Return the current XPath's xmlmapping metadata. |
FieldMetaData |
last()
Return the last field in the path, or null if the path does not not contain a final field. |
void |
setSchemaAlias(String schemaAlias)
Set the schema alias (the identification variable) this path is begin with. |
void |
setSubqueryContext(Context context,
String correlationVar)
|
| Methods inherited from interface org.apache.openjpa.kernel.exps.Value |
|---|
acceptVisit, getAlias, getMetaData, getName, getPath, getSelectAs, getType, isAggregate, isVariable, isXPath, setAlias, setImplicitType, setMetaData |
| Method Detail |
|---|
void get(FieldMetaData field,
boolean nullTraversal)
nullTraversal - if true, allow traversal through a null fieldFieldMetaData last()
void get(FieldMetaData fmd,
XMLMetaData meta)
fmd - field maps to xml columnmeta - associated xml mapping
void get(XMLMetaData meta,
String name)
meta - name - XMLMetaData getXmlMapping()
void setSchemaAlias(String schemaAlias)
schemaAlias - String getSchemaAlias()
void setSubqueryContext(Context context,
String correlationVar)
String getCorrelationVar()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||