/** * Copyright 2007-2010 非也 * All rights reserved. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation。 * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see http://www.gnu.org/licenses. * */ package org.fireflow.pvm.kernel; import java.util.List; import java.util.Map; import org.fireflow.client.WorkflowSession; import org.fireflow.pvm.pdllogic.ExecuteResult; /** * 图中的节点实例。 * @author 非也 * @version 2.0 */ public interface NodeInstance extends PObject { //////////////////////////////////////////////////////// ////////////////// 结构抽象 //////////////////////// /////////////////////////////////////////////////////// // public List<ArcInstance> getEnteringArcInstances(); // public void addEnteringArcInstance(ArcInstance arcInst); // // public List<ArcInstance> getLeavingArcInstances(); // public void addLeavingArcInstance(ArcInstance arcInst); // // public ArcInstance getDefaultLeavingArcInstance(); // public void setDefaultLeavingArcInstance(ArcInstance arc); // // public NodeInstance getParentNodeInstance(); // public void setParentNodeInstance(NodeInstance node); // // public void addChildren(NodeInstance nodeInstance); // public List<NodeInstance> getChildren(); // // public NetInstance getNetInstance(); // public void setNetInstance(NetInstance net); //////////////////////////////////////////////////////// ////////////////// NodeInstance行为抽象 ///////////// /////////////////////////////////////////////////////// }