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

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

public class WeekFunction
extends DateComponentFunction


Field Summary
static java.lang.String NAME
           
 
Fields inherited from class org.outerj.daisy.query.model.AbstractFunction
params
 
Constructor Summary
WeekFunction()
           
 
Method Summary
protected  int getCalendarField()
           
 java.lang.String getFunctionName()
           
protected  java.lang.String[] getSqlFunction(SqlGenerationContext context)
           
 
Methods inherited from class org.outerj.daisy.query.model.functions.DateComponentFunction
bindValueExpr, evaluate, evaluate, generateSqlValueExpr, getAdjustment, getOutputValue, getOutputValueType, getTitle, getValueType, prepare
 
Methods inherited from class org.outerj.daisy.query.model.AbstractFunction
addParam, bindPreConditions, 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

WeekFunction

public WeekFunction()
Method Detail

getFunctionName

public java.lang.String getFunctionName()

getCalendarField

protected int getCalendarField()
Specified by:
getCalendarField in class DateComponentFunction

getSqlFunction

protected java.lang.String[] getSqlFunction(SqlGenerationContext context)
Specified by:
getSqlFunction in class DateComponentFunction


Copyright © -2012 . All Rights Reserved.