java实现的可配置的工作流引擎,采用jsp+javabean实现
源代码在线查看: orgtreeformbean.java
package com.hongsoft.res.formbean;
import java.util.*;
public class OrgTreeFormBean {
private long orgID = 0;
private String name = null;
/**
* 下一级OrgTreeFormBean的List
*/
private List childrenTree = null;
public OrgTreeFormBean(long orgID, String name) {
this.orgID = orgID;
this.name = name;
}
public OrgTreeFormBean() {
}
public void setOrgID(long orgID) {
this.orgID = orgID;
}
public long getOrgID() {
return orgID;
}
public void setName(String name) {
this.name = name;
}
public String getName() {
return name;
}
/**
* 获得下一级所有的Tree
* @return childrenTree
*/
public List getChildrenTree() {
return childrenTree;
}
/**
* 添加OrgTreeFormBean子元素
* @param element
*/
public void addChild(OrgTreeFormBean element) {
}
/**
* 添加多个OrgTreeFormBean元素
* @param elementList OrgTreeFormBean的List
*/
public void addChildren(List treeList) {
this.childrenTree=treeList;
}
}