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

📄 actionstructure.java

📁 用Eclipse开发的桥吊无线管理系统.希望对大家有帮助:)
💻 JAVA
字号:
/*
 * Created on 2005-7-13
 *
 */
package cn.com.linkingstar.swds.xml;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * @author 李晓凯
 * @version 1.0.0
 * <p>
 * 该类为指令和指令集的数据结构,若干个指令或者包含、不包含指令的指令集都可以用
 * 该类表示,而多个指令集则可以用有该类的实例组成的数组表示。
 * </p>
 */
public class ActionStructure {
    /**
     *  指令集,只有一个,
     * 包含指令集的各个属性,以key-value对应的方式存储在hashmap中 
     */
    private HashMap group;
    /**
     *  列集,只有一个,同样以key-value的方式存储 
     */
    private HashMap columns;
    /**
     *  指令,若干
     */
    private List action;

    public ActionStructure(HashMap group,HashMap columns,List action){
    	this.group = group;
    	this.columns = columns;
    	this.action = action;
    }
    public ActionStructure()
    {
    	this.group = new HashMap();
    	this.columns = new HashMap();
    	this.action = new ArrayList();
    }
    /**
     * @return Returns the columns.
     */
    public HashMap getColumns() {
        return columns;
    }
    /**
     * @param columns The columns to set.
     */
    public void setColumns(HashMap columns) {
        this.columns = columns;
    }
    /**
     * @return Returns the group.
     */
    public HashMap getGroup() {
        return group;
    }
    /**
     * @param group The group to set.
     */
    public void setGroup(HashMap group) {
        this.group = group;
    }
	/**
	 * @return Returns the action.
	 */
	public List getAction() {
		return action;
	}
	/**
	 * @param action The action to set.
	 */
	public void setAction(List action) {
		this.action = action;
	}
	/**
	 * 添加一个action条目
	 */
	public void addAction(CommanElement ce)
	{
		this.action.add(ce);
	}
}

⌨️ 快捷键说明

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