| java.lang.Object org.josql.functions.AbstractFunctionHandler org.josql.functions.MiscellaneousFunctions
accessor | public Object accessor(Expression oExp, Expression accExp) throws Exception(Code) | | Call the specified accessor on the object.
Parameters: oExp - The expression to use to evaluate to get the object. Parameters: accExp - The expression that is evaluated to get the accessor. The value returned from the accessor. throws: Exception - If there is something wrong. |
accessor | public Object accessor(Object o, String acc) throws Exception(Code) | | Call the specified accessor on the object.
Parameters: o - The object to call the accessor on. Parameters: acc - The accessor. The value returned from the accessor. throws: Exception - If there is something wrong. |
instanceOf | public Boolean instanceOf(Expression obj, Expression clazz) throws QueryExecutionException(Code) | | Evaluates the type expression to produce a object whose type
should be compared against the class gained from evaluation of the
clazz expression.
In effect the following is performed:
obj.getValue (q.getCurrentObject (), q)
instanceof clazz.getValue (q.getCurrentObject (), q).getClass ()
This is really just a thin wrapper around
Class.isInstance(Object) .
Parameters: obj - The expression that represents the object toagainst. Parameters: clazz - The expression that represents the class of the typeto compare against. throws: QueryExecutionException - If either of the expressions can'tbe evaluated. |
now | public Date now(boolean zeroTime)(Code) | | Return the current date.
Parameters: zeroTime - If set to true then the date returned will have it's time fieldsset to zero. A date object. |
random | public int random()(Code) | | |
randomDouble | public double randomDouble()(Code) | | |
Methods inherited from org.josql.functions.AbstractFunctionHandler | public void setQuery(Query q)(Code)(Java Doc)
|
|
|