PrimaryExpression primExpr = (PrimaryExpression)param;
paramValue = eval.getValueForPrimaryExpression(primExpr);
}
else if (param instanceof ParameterExpression)
{
ParameterExpression paramExpr = (ParameterExpression)param;
paramValue = QueryUtils.getValueForParameterExpression(eval.getParameterValues(), paramExpr);
}
else if (param instanceof Literal)
{
paramValue = ((Literal)param).getLiteral();
}
else
{
throw new NucleusException(method + "(param) where param is instanceof " + param.getClass().getName() + " not supported");
}
Object param2 = expr.getArguments().get(1);
Object param2Value = null;
if (param2 instanceof PrimaryExpression)
{
PrimaryExpression primExpr = (PrimaryExpression)param;
param2Value = eval.getValueForPrimaryExpression(primExpr);
}
else if (param2 instanceof ParameterExpression)
{
ParameterExpression param2Expr = (ParameterExpression)param2;
param2Value = QueryUtils.getValueForParameterExpression(eval.getParameterValues(), param2Expr);
}
else if (param2 instanceof Literal)
{
param2Value = ((Literal)param).getLiteral();