Class Exp

java.lang.Object
org.apache.openjpa.kernel.exps.Exp
All Implemented Interfaces:
Serializable, Expression
Direct Known Subclasses:
WhenCondition, WhenScalar

public class Exp extends Object implements Expression
An in-memory representation of an Expression.
Author:
Abe White
See Also:
  • Constructor Details

    • Exp

      public Exp()
  • Method Details

    • evaluate

      public final boolean evaluate(Object candidate, Object orig, StoreContext ctx, Object[] params)
      Evaluate the expression for the given candidate.
    • evaluate

      public final boolean evaluate(Collection candidates, StoreContext ctx, Object[] params)
      Evaluate the expression for the given candidate group.
    • eval

      protected boolean eval(Object candidate, Object orig, StoreContext ctx, Object[] params)
      Evaluate the expression for the given context candidate and original candidate.
    • eval

      protected boolean eval(Collection candidates, StoreContext ctx, Object[] params)
      Evaluate the expression for the given group.
    • acceptVisit

      public void acceptVisit(ExpressionVisitor visitor)
      Description copied from interface: Expression
      Accept a visit from a tree visitor.
      Specified by:
      acceptVisit in interface Expression