All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.redkalex.source.parser.NativeSqlTemplet Maven / Gradle / Ivy

There is a newer version: 2.7.7
Show newest version
/*
 *
 */
package org.redkalex.source.parser;

import java.util.Map;
import org.redkale.convert.json.JsonConvert;

/** @author zhangjx */
public class NativeSqlTemplet {

    private String jdbcSql;

    private Map templetParams;

    public NativeSqlTemplet() {
        // do nothing
    }

    public NativeSqlTemplet(String templetSql, Map templetParams) {
        this.jdbcSql = templetSql;
        this.templetParams = templetParams;
    }

    public String getJdbcSql() {
        return jdbcSql;
    }

    public void setJdbcSql(String jdbcSql) {
        this.jdbcSql = jdbcSql;
    }

    public Map getTempletParams() {
        return templetParams;
    }

    public void setTempletParams(Map templetParams) {
        this.templetParams = templetParams;
    }

    @Override
    public String toString() {
        return JsonConvert.root().convertTo(this);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy