|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.util.jep.convert.AbstractJepConversionFunction<Node> net.sf.basedb.util.jep.convert.SubtractConverter
public class SubtractConverter
Convert Subtract
function
to a Query API Expression
.
Constructor Summary | |
---|---|
SubtractConverter()
|
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 |
isOperator()
If this converter is a built-in operator. |
Expression |
toExpression(Node node)
Convert to expression by calling Expressions.subtract(Expression, Expression) . |
Methods inherited from class net.sf.basedb.util.jep.convert.AbstractJepConversionFunction |
---|
isFunction, toRestriction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubtractConverter()
Method Detail |
---|
public boolean isOperator()
JepConversionFunction
isOperator
in interface JepConversionFunction<Node>
isOperator
in class AbstractJepConversionFunction<Node>
public String getName()
JepConversionFunction
getName
in interface JepConversionFunction<Node>
getName
in class AbstractJepConversionFunction<Node>
public String getDescription()
JepConversionFunction
getDescription
in interface JepConversionFunction<Node>
getDescription
in class AbstractJepConversionFunction<Node>
public Expression toExpression(Node node)
Expressions.subtract(Expression, Expression)
.
toExpression
in interface JepConversionFunction<Node>
toExpression
in class AbstractJepConversionFunction<Node>
node
- The object to convert
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |