|
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.LessConverter
public class LessConverter
Convert the '<' operator
to a Query API Restriction
.
Constructor Summary | |
---|---|
LessConverter()
|
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. |
Restriction |
toRestriction(Node node)
Convert to restriction by calling Restrictions.lt(net.sf.basedb.core.query.Expression, net.sf.basedb.core.query.Expression) . |
Methods inherited from class net.sf.basedb.util.jep.convert.AbstractJepConversionFunction |
---|
isFunction, toExpression |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LessConverter()
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 Restriction toRestriction(Node node)
Restrictions.lt(net.sf.basedb.core.query.Expression, net.sf.basedb.core.query.Expression)
.
toRestriction
in interface JepConversionFunction<Node>
toRestriction
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 |