|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JepConversionFunction<T>
Convert a built-in JEP function or operation to a Query
API Expression
or Restriction
. Custom function
should implement JepExpressionFunction
which supports
automatic conversion.
Method Summary | |
---|---|
String |
getDescription()
Get a short description of the function or operator |
String |
getName()
Get the name of the function or the symbol of the operator |
boolean |
isFunction()
If this converter is a built-in function. |
boolean |
isOperator()
If this converter is a built-in operator. |
Expression |
toExpression(T node)
Convert the object to an expression. |
Restriction |
toRestriction(T node)
Convert the object to a restriction. |
Method Detail |
---|
boolean isFunction()
Jep.getFunctions()
.
boolean isOperator()
String getName()
String getDescription()
Expression toExpression(T node)
node
- The object to convert
UnsupportedOperationException
- If this converter can't convert to
expressionsRestriction toRestriction(T node)
node
- The object to convert
UnsupportedOperationException
- If this converter can't convert to
restrictions
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |