Package com.googlecode.mjorm.mql

Examples of com.googlecode.mjorm.mql.AbstractMqlCriterionFunction


      }
    };
  }

  public static MqlCriterionFunction createNegatedFunction(final String functionName) {
    return new AbstractMqlCriterionFunction() {
      protected void init() {
        setFunctionName(functionName);
        setMinArgs(1);
        setMaxArgs(1);
        setTypes(Boolean.class);
View Full Code Here


    }
    return ret;
  }

  public static MqlCriterionFunction createFunction(final String functionName) {
    return new AbstractMqlCriterionFunction() {
      protected void init() {
        setFunctionName(functionName);
        setMinArgs(2);
        setMaxArgs(3);
        setTypes(Number.class);
View Full Code Here

  public static MqlCriterionFunction createMqlDocumentFunction(
    final String functionName, final String operatorName,
    final boolean allowQueryGroup, final boolean allowQuery,
    final int exactArgs, final int minArgs, final int maxArgs, final Class<?>... types) {
    return new AbstractMqlCriterionFunction() {
      protected void init() {
        setFunctionName(functionName);
        setAllowQueryGroup(allowQueryGroup);
        setAllowQuery(allowQuery);
        setExactArgs(exactArgs);
View Full Code Here

TOP

Related Classes of com.googlecode.mjorm.mql.AbstractMqlCriterionFunction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.