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

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

public class UpperCaseFunction
extends AbstractCaseFunction


Field Summary
static java.lang.String NAME
           
 
Fields inherited from class org.outerj.daisy.query.model.AbstractFunction
params
 
Constructor Summary
UpperCaseFunction()
           
 
Method Summary
protected  java.lang.String applyCase(java.lang.String value)
           
 java.lang.String getFunctionName()
           
protected  java.lang.String getSqlFunctionName(SqlGenerationContext context)
           
 
Methods inherited from class org.outerj.daisy.query.model.functions.AbstractCaseFunction
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

UpperCaseFunction

public UpperCaseFunction()
Method Detail

getFunctionName

public java.lang.String getFunctionName()

getSqlFunctionName

protected java.lang.String getSqlFunctionName(SqlGenerationContext context)
Specified by:
getSqlFunctionName in class AbstractCaseFunction

applyCase

protected java.lang.String applyCase(java.lang.String value)
Specified by:
applyCase in class AbstractCaseFunction


Copyright © -2012 . All Rights Reserved.