org.apache.openjpa.kernel.exps
Class ValuePath
java.lang.Object
   org.apache.openjpa.kernel.exps.Val
org.apache.openjpa.kernel.exps.Val
       org.apache.openjpa.kernel.exps.CandidatePath
org.apache.openjpa.kernel.exps.CandidatePath
           org.apache.openjpa.kernel.exps.ValuePath
org.apache.openjpa.kernel.exps.ValuePath
- All Implemented Interfaces: 
- Serializable, Path, Value
-  class ValuePath 
- extends CandidatePath
Represents a path that begins with a variable or parameter.
- Author:
- Abe White
 
 
 
 
 
 
| Methods inherited from class org.apache.openjpa.kernel.exps.CandidatePath | 
| castTo, equals, get, get, get, getCorrelationVar, getSchemaAlias, getType, getXmlMapping, hashCode, last, setImplicitType, setSchemaAlias, setSubqueryContext | 
 
| Methods inherited from class org.apache.openjpa.kernel.exps.Val | 
| eval, evaluate, evaluate, getAlias, getMetaData, getName, getPath, getSelectAs, isAggregate, isVariable, isXPath, setAlias, setMetaData | 
 
 
 
ValuePath
public ValuePath(Val val)
- Constructor. Supply context value.
 
getCandidateType
public Class getCandidateType()
- 
- Overrides:
- getCandidateTypein class- CandidatePath
 
- 
 
eval
protected Object eval(Object candidate,
                      Object orig,
                      StoreContext ctx,
                      Object[] params)
- Description copied from class: Val
- Return this value for the given candidate.
 
- 
- Overrides:
- evalin class- CandidatePath
 
- 
 
acceptVisit
public void acceptVisit(ExpressionVisitor visitor)
- Description copied from interface: Value
- Accept a visit from a tree visitor.
 
- 
- Specified by:
- acceptVisitin interface- Value
- Overrides:
- acceptVisitin class- Val
 
- 
 
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.