|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.outerj.daisy.query.model.AbstractFunction
org.outerj.daisy.query.model.functions.RelativeDateTimeFunction
org.outerj.daisy.query.model.functions.RelativeDateFunction
public class RelativeDateFunction
| Field Summary | |
|---|---|
static java.lang.String |
NAME
|
| Fields inherited from class org.outerj.daisy.query.model.AbstractFunction |
|---|
params |
| Constructor Summary | |
|---|---|
RelativeDateFunction()
|
|
| Method Summary | |
|---|---|
protected java.util.Calendar |
calcDate(boolean start,
int shift,
int shiftUnit,
int dayInShiftUnit)
|
java.lang.String |
getFunctionName()
|
QValueType |
getOutputValueType()
Identifies the type of data returned from the ValueExpr.getOutputValue(org.outerj.daisy.repository.Document, org.outerj.daisy.repository.Version, EvaluationContext) method. |
QValueType |
getValueType()
Returns the ValueType of this expression, or null if undetermined. |
| Methods inherited from class org.outerj.daisy.query.model.functions.RelativeDateTimeFunction |
|---|
bindValueExpr, evaluate, evaluate, generateSqlValueExpr, getOutputValue, getTitle, 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 |
|---|
public static final java.lang.String NAME
| Constructor Detail |
|---|
public RelativeDateFunction()
| Method Detail |
|---|
public java.lang.String getFunctionName()
getFunctionName in interface FunctiongetFunctionName in class RelativeDateTimeFunctionpublic QValueType getValueType()
ValueExpr
getValueType in interface ValueExprgetValueType in class RelativeDateTimeFunctionpublic QValueType getOutputValueType()
ValueExprValueExpr.getOutputValue(org.outerj.daisy.repository.Document, org.outerj.daisy.repository.Version, EvaluationContext) method.
getOutputValueType in interface ValueExprgetOutputValueType in class RelativeDateTimeFunction
protected java.util.Calendar calcDate(boolean start,
int shift,
int shiftUnit,
int dayInShiftUnit)
calcDate in class RelativeDateTimeFunction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||