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

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.MonthFunction
All Implemented Interfaces:
Expression, Function, ValueExpr

public class MonthFunction
extends DateComponentFunction


Field Summary
static java.lang.String NAME
           
 
Fields inherited from class org.outerj.daisy.query.model.AbstractFunction
params
 
Constructor Summary
MonthFunction()
           
 
Method Summary
protected  int getAdjustment()
           
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, 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

MonthFunction

public MonthFunction()
Method Detail

getFunctionName

public java.lang.String getFunctionName()

getCalendarField

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

getAdjustment

protected int getAdjustment()
Overrides:
getAdjustment in class DateComponentFunction

getSqlFunction

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


Copyright © -2012 . All Rights Reserved.