org.apache.openjpa.kernel.exps
Interface Path

All Superinterfaces:
Value

public interface Path
extends Value

A path represents a traversal into fields of a candidate object. Equivalent paths should compare equal.

Author:
Abe White

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.
 FieldMetaData last()
          Return the last field in the path, or null if the path does not not contain a final field.
 
Methods inherited from interface org.apache.openjpa.kernel.exps.Value
acceptVisit, getMetaData, getType, isAggregate, isVariable, setImplicitType, setMetaData
 

Method Detail

get

void get(FieldMetaData field,
         boolean nullTraversal)
Traverse into the given field of the current object, and update the current object to that field value.

Parameters:
nullTraversal - if true, allow traversal through a null field

last

FieldMetaData last()
Return the last field in the path, or null if the path does not not contain a final field.



Copyright © 2006 Apache Software Foundation. All Rights Reserved.