org.outerj.daisy.query.model.functions
Class RightFunction

java.lang.Object
  extended by org.outerj.daisy.query.model.AbstractFunction
      extended by org.outerj.daisy.query.model.functions.LeftFunction
          extended by org.outerj.daisy.query.model.functions.RightFunction
All Implemented Interfaces:
Expression, Function, ValueExpr

public class RightFunction
extends LeftFunction


Field Summary
static java.lang.String NAME
           
 
Fields inherited from class org.outerj.daisy.query.model.AbstractFunction
params
 
Constructor Summary
RightFunction()
           
 
Method Summary
protected  java.lang.Object evaluate(java.lang.String value, int length)
           
 java.lang.String getFunctionName()
           
protected  java.lang.String getFunctionName(SqlGenerationContext context)
           
 
Methods inherited from class org.outerj.daisy.query.model.functions.LeftFunction
evaluate, evaluate, generateSqlValueExpr, getOutputValue, getOutputValueType, getTitle, getValueType, prepare
 
Methods inherited from class org.outerj.daisy.query.model.AbstractFunction
addParam, bindPreConditions, bindValueExpr, canTestAppliesTo, getColumn, getExpression, getLine, getLocation, getParam, getSqlPreConditions, isAclAllowed, isMultiValue, isOutputOnly, isSymbolicIdentifier, setLocation, translateSymbolic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Constructor Detail

RightFunction

public RightFunction()
Method Detail

getFunctionName

public java.lang.String getFunctionName()
Specified by:
getFunctionName in interface Function
Overrides:
getFunctionName in class LeftFunction

getFunctionName

protected java.lang.String getFunctionName(SqlGenerationContext context)
Overrides:
getFunctionName in class LeftFunction

evaluate

protected java.lang.Object evaluate(java.lang.String value,
                                    int length)
                             throws org.outerj.daisy.repository.query.QueryException
Overrides:
evaluate in class LeftFunction
Throws:
org.outerj.daisy.repository.query.QueryException


Copyright © -2012 . All Rights Reserved.