org.apache.openjpa.kernel.exps
Class ValuePath
java.lang.Object
org.apache.openjpa.kernel.exps.Val
org.apache.openjpa.kernel.exps.CandidatePath
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:
getCandidateType
in 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:
eval
in class CandidatePath
acceptVisit
public void acceptVisit(ExpressionVisitor visitor)
- Description copied from interface:
Value
- Accept a visit from a tree visitor.
- Specified by:
acceptVisit
in interface Value
- Overrides:
acceptVisit
in class Val
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.