1 /**
2 * $Id: BaseFlowDefImpl.java 58 2006-11-08 14:52:38Z maldito_orco $
3 *
4 * =========================================================================
5 *
6 * Copyright 2005 Tubo
7 *
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 */
20 package org.tubo.configuration.def.baseimpl;
21
22
23 import org.apache.commons.logging.Log;
24 import org.apache.commons.logging.LogFactory;
25
26 import org.tubo.configuration.def.FlowDef;
27 import org.tubo.configuration.def.FlowNodeList;
28 import org.tubo.configuration.def.FlowConsumeFromDef;
29
30 import java.util.List;
31 import java.util.ArrayList;
32
33 /**
34 * <p></p>
35 * <p>
36 * Created: Jul 6, 2005 7:52:20 PM <br>
37 * Last Modification Date: $Date: 2006-11-08 11:52:38 -0300 (Wed, 08 Nov 2006) $
38 * </p>
39 *
40 * @author maldito_orco (maldito_orco@users.sourceforge.net)
41 * @version $Revision: 58 $
42 */
43 public class BaseFlowDefImpl extends BaseReferenceableItemDefImpl implements FlowDef {
44 public static final String RCS_ID = "$Id: BaseFlowDefImpl.java 58 2006-11-08 14:52:38Z maldito_orco $";
45 private static Log log = LogFactory.getLog(BaseFlowDefImpl.class);
46
47 private List consumeFromList = new ArrayList(1);
48 private FlowNodeList flowNodeList = null;
49
50
51 public List getConsumeFromList() { return consumeFromList; }
52 public void setConsumeFromList(List consumeFromList) {
53 this.consumeFromList = consumeFromList;
54 }
55 public void add(FlowConsumeFromDef def) {
56 consumeFromList.add(def);
57 }
58
59 public FlowNodeList getFlowNodeList() { return flowNodeList; }
60 public void setFlowNodeList(FlowNodeList flowNodeList) {
61 this.flowNodeList = flowNodeList;
62 }
63 }