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

📄 formulanode.java

📁 OBPM是一个开源
💻 JAVA
字号:
package cn.myapps.core.formula;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;

public class FormulaNode {
	private String id;

	private String text;

	private Collection children = new ArrayList();

	private FormulaNode parent;

	private String valuetype;
	
	public String getValuetype() {
		return valuetype;
	}

	public void setValuetype(String valuetype) {
		this.valuetype = valuetype;
	}

	public FormulaNode getParent() {
		return parent;
	}

	public void setParent(FormulaNode parent) {
		this.parent = parent;
	}

	public Collection getChildren() {
		return children;
	}

	public void setChildren(Collection thechildren) {
		if (thechildren!=null) {
			this.children.clear();
			for (Iterator iter = thechildren.iterator(); iter.hasNext();) {
				Object element = (Object) iter.next();
				this.children.add(element);
			}
		}
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public void addChild(FormulaNode child) {
		children.add(child);
	}

	public void delChild(FormulaNode child) {
		children.remove(child);
	}
}

⌨️ 快捷键说明

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