Examples of parameterClass()


Examples of org.jrest4guice.persistence.ibatis.annotations.Delete.parameterClass()

            .id(), null, insert.parameterClass(), null, Null.class,
            insert.sql(), null, null);
      } else if (method.isAnnotationPresent(Delete.class)) {
        delete = method.getAnnotation(Delete.class);
        generateMethodSqlMapping(statementSb, "delete", method, delete
            .id(), null, delete.parameterClass(), null, Null.class,
            delete.sql(), null, null);
      }
    }
  }
View Full Code Here

Examples of org.jrest4guice.persistence.ibatis.annotations.Insert.parameterClass()

            .id(), null, update.parameterClass(), null, Null.class,
            update.sql(), null, null);
      } else if (method.isAnnotationPresent(Insert.class)) {
        insert = method.getAnnotation(Insert.class);
        generateMethodSqlMapping(statementSb, "insert", method, insert
            .id(), null, insert.parameterClass(), null, Null.class,
            insert.sql(), null, null);
      } else if (method.isAnnotationPresent(Delete.class)) {
        delete = method.getAnnotation(Delete.class);
        generateMethodSqlMapping(statementSb, "delete", method, delete
            .id(), null, delete.parameterClass(), null, Null.class,
View Full Code Here

Examples of org.jrest4guice.persistence.ibatis.annotations.ParameterMap.parameterClass()

      // 检查当前parameterMap是否已经在其它dao中声明并解析过了
      if (parameterMapIds.contains(id))
        return;
      parameterMapIds.add(id);

      Class<?> parameterClass = annotation.parameterClass();
      String[] parameters = annotation.parameters();

      parameterMapSb.append("  <parameterMap id=\"" + id + "\" class=\""
          + parameterClass.getName() + "\">");
      for (String parameter : parameters) {
View Full Code Here

Examples of org.jrest4guice.persistence.ibatis.annotations.Procedure.parameterClass()

            statement.resltClass(), statement.sql(), statement
                .cacheModel(), statement.xmlResultName());
      } else if (method.isAnnotationPresent(Procedure.class)) {
        procedure = method.getAnnotation(Procedure.class);
        generateMethodSqlMapping(statementSb, "procedure", method,
            procedure.id(), procedure.parameterMap(), procedure
                .parameterClass(), procedure.resltMap(),
            procedure.resltClass(), procedure.sql(), null,
            procedure.xmlResultName());
      } else if (method.isAnnotationPresent(Select.class)) {
        select = method.getAnnotation(Select.class);
View Full Code Here

Examples of org.jrest4guice.persistence.ibatis.annotations.Select.parameterClass()

            procedure.resltClass(), procedure.sql(), null,
            procedure.xmlResultName());
      } else if (method.isAnnotationPresent(Select.class)) {
        select = method.getAnnotation(Select.class);
        generateMethodSqlMapping(statementSb, "select", method, select
            .id(), select.parameterMap(), select.parameterClass(),
            select.resltMap(), select.resltClass(), select.sql(),
            select.cacheModel(), null);
      } else if (method.isAnnotationPresent(Update.class)) {
        update = method.getAnnotation(Update.class);
        generateMethodSqlMapping(statementSb, "update", method, update
View Full Code Here

Examples of org.jrest4guice.persistence.ibatis.annotations.Statement.parameterClass()

    Delete delete;
    for (Method method : methods) {
      if (method.isAnnotationPresent(Statement.class)) {
        statement = method.getAnnotation(Statement.class);
        generateMethodSqlMapping(statementSb, "statement", method,
            statement.id(), statement.parameterMap(), statement
                .parameterClass(), statement.resltMap(),
            statement.resltClass(), statement.sql(), statement
                .cacheModel(), statement.xmlResultName());
      } else if (method.isAnnotationPresent(Procedure.class)) {
        procedure = method.getAnnotation(Procedure.class);
View Full Code Here

Examples of org.jrest4guice.persistence.ibatis.annotations.Update.parameterClass()

            select.resltMap(), select.resltClass(), select.sql(),
            select.cacheModel(), null);
      } else if (method.isAnnotationPresent(Update.class)) {
        update = method.getAnnotation(Update.class);
        generateMethodSqlMapping(statementSb, "update", method, update
            .id(), null, update.parameterClass(), null, Null.class,
            update.sql(), null, null);
      } else if (method.isAnnotationPresent(Insert.class)) {
        insert = method.getAnnotation(Insert.class);
        generateMethodSqlMapping(statementSb, "insert", method, insert
            .id(), null, insert.parameterClass(), null, Null.class,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.