⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 intermediaryexpression.java

📁 一个Java持久层类库
💻 JAVA
字号:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package ActiveObject.vo;import ActiveObject.core.Order;import java.util.Map;/** * * @author tanjiazhang */public class IntermediaryExpression {    private int limitStart = -1;//从第几条记录开始执行操作    private int limitLength = -1;//影响的结果长度    private String condition = "";//操作条件设定    private Class[] objectTypes;//需要进行操作的对象类型    private Map<String, String> aliasMap = null;//表完 整名-别名 映射    private Map<String, Order> orders = null;//排序条件    private String setting = null;//update操作的值设置    private Object[] paramValues = null;//该操作的相关数据    private int operateType = IntermediaryExpression.Query;//用于执行该表达式的操作类型    public static final int Query = 1;    public static final int Update = 2;    public static final int Delete = 3;    public static final int Insert = 4;    /**     * @return the limitStart     */    public int getLimitStart() {        return limitStart;    }    /**     * @param limitStart the limitStart to set     */    public void setLimitStart(int limitStart) {        this.limitStart = limitStart;    }    /**     * @return the limitLength     */    public int getLimitLength() {        return limitLength;    }    /**     * @param limitLength the limitLength to set     */    public void setLimitLength(int limitLength) {        this.limitLength = limitLength;    }    /**     * @return the condition     */    public String getCondition() {        return condition;    }    /**     * @param condition the condition to set     */    public void setCondition(String condition) {        this.condition = condition;    }    /**     * @return the objectTypes     */    public Class[] getObjectTypes() {        return objectTypes;    }    /**     * @param objectTypes the objectTypes to set     */    public void setObjectTypes(Class[] objectTypes) {        this.objectTypes = objectTypes;    }    /**     * @return the aliasMap     */    public Map<String, String> getAliasMap() {        return aliasMap;    }    /**     * @param aliasMap the aliasMap to set     */    public void setAliasMap(Map<String, String> aliasMap) {        this.aliasMap = aliasMap;    }    /**     * @return the orders     */    public Map<String, Order> getOrders() {        return orders;    }    /**     * @param orders the orders to set     */    public void setOrders(Map<String, Order> orders) {        this.orders = orders;    }    /**     * @return the setting     */    public String getSetting() {        return setting;    }    /**     * @param setting the setting to set     */    public void setSetting(String setting) {        this.setting = setting;    }    /**     * @return the operateType     */    public int getOperateType() {        return operateType;    }    /**     * @param operateType the operateType to set     */    public void setOperateType(int operateType) {        this.operateType = operateType;    }    /**     * @return the paramValues     */    public Object[] getParamValues() {        return paramValues;    }    /**     * @param paramValues the paramValues to set     */    public void setParamValues(Object[] paramValues) {        this.paramValues = paramValues;    }    }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -