package cn.ksource.core.workflow;
|
|
import java.util.ArrayList;
|
import java.util.List;
|
import java.util.Map;
|
|
import cn.ksource.beans.WORKFLOW_TEMPLATE_NODE;
|
|
/**
|
* 流程环节执行人信息
|
*/
|
public class NodeDealEntity {
|
|
|
/**
|
* 指定角色
|
*/
|
public final static int Dealer_Type_ROLE = 1;
|
|
/**
|
* 指定人员
|
*/
|
public final static int Dealer_Type_USER = 2;
|
|
/**
|
* 上环节指定
|
*/
|
public final static int Dealer_Type_Before_Node = 3;
|
|
|
/**
|
* 流程发起人
|
*/
|
public final static int Dealer_Type_Flow_Creater = 4;
|
|
|
//流转类型(流转类型(1=正常流转;2=回退))
|
private int flow_type = 1 ;
|
//如果是回退,则需要提供源节点编号
|
private String source_node_instance_id;
|
|
//1=指定角色;2=指定人员;3=上一环节指定;4=流程发起人
|
private int Dealer_type;
|
|
//上一环节指定:1=指定角色;2=指定人员;
|
private int Before_Dealer_type;
|
|
private WORKFLOW_TEMPLATE_NODE workflow_template_node;
|
|
private List<Map> dealerList = new ArrayList<Map>();
|
|
private String roleID;
|
|
private String roleName;
|
|
/**
|
* /如果是回退,则需要提供源节点编号
|
* @return
|
* @version V1.0.0
|
* @author 杨凯
|
* @date May 25, 2015 4:11:32 PM
|
*/
|
public String getSource_node_instance_id() {
|
return source_node_instance_id;
|
}
|
|
/**
|
* /如果是回退,则需要提供源节点编号
|
* @param source_node_instance_id
|
* @version V1.0.0
|
* @author 杨凯
|
* @date May 25, 2015 4:11:36 PM
|
*/
|
public void setSource_node_instance_id(String source_node_instance_id) {
|
this.source_node_instance_id = source_node_instance_id;
|
}
|
|
|
/**
|
* //流转类型(流转类型(1=正常流转;2=回退))
|
* @return
|
* @version V1.0.0
|
* @author 杨凯
|
* @date May 25, 2015 4:11:12 PM
|
*/
|
public int getFlow_type() {
|
return flow_type;
|
}
|
|
/**
|
* //流转类型(流转类型(1=正常流转;2=回退))
|
* @param flow_type
|
* @version V1.0.0
|
* @author 杨凯
|
* @date May 25, 2015 4:11:18 PM
|
*/
|
public void setFlow_type(int flow_type) {
|
this.flow_type = flow_type;
|
}
|
|
|
public WORKFLOW_TEMPLATE_NODE getWorkflow_template_node() {
|
return workflow_template_node;
|
}
|
|
public void setWorkflow_template_node(WORKFLOW_TEMPLATE_NODE workflow_template_node) {
|
this.workflow_template_node = workflow_template_node;
|
}
|
|
/**
|
* 上一环节指定:1=指定角色;2=指定人员;
|
* @return
|
* @version V1.0.0
|
* @author 杨凯
|
* @date May 4, 2015 7:29:09 PM
|
*/
|
public int getBefore_Dealer_type() {
|
return Before_Dealer_type;
|
}
|
|
/**
|
* 上一环节指定:1=指定角色;2=指定人员;
|
* @param before_Dealer_type
|
* @version V1.0.0
|
* @author 杨凯
|
* @date May 4, 2015 7:29:16 PM
|
*/
|
public void setBefore_Dealer_type(int before_Dealer_type) {
|
Before_Dealer_type = before_Dealer_type;
|
}
|
|
/**
|
* 1=指定角色;2=指定人员;3=上一环节指定;4=流程发起人
|
* @return
|
* @version V1.0.0
|
* @author 杨凯
|
* @date May 4, 2015 5:47:10 PM
|
*/
|
public int getDealer_type() {
|
return Dealer_type;
|
}
|
|
/**
|
* 1=指定角色;2=指定人员;3=上一环节指定;4=流程发起人
|
* @param dealer_type
|
* @version V1.0.0
|
* @author 杨凯
|
* @date May 4, 2015 5:47:15 PM
|
*/
|
public void setDealer_type(int dealer_type) {
|
Dealer_type = dealer_type;
|
}
|
|
public List<Map> getDealerList() {
|
return dealerList;
|
}
|
|
public void setDealerList(List<Map> dealerList) {
|
this.dealerList = dealerList;
|
}
|
|
public String getRoleID() {
|
return roleID;
|
}
|
|
public void setRoleID(String roleID) {
|
this.roleID = roleID;
|
}
|
|
public String getRoleName() {
|
return roleName;
|
}
|
|
public void setRoleName(String roleName) {
|
this.roleName = roleName;
|
}
|
|
|
}
|