View Javadoc

1   /**
2    * $Id: BaseFlowNodeListImpl.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  //log
23  import org.apache.commons.logging.Log;
24  import org.apache.commons.logging.LogFactory;
25  //tubo-configuration
26  import org.tubo.configuration.def.FlowNodeList;
27  import org.tubo.configuration.def.FlowNodeDef;
28  //util
29  import java.util.List;
30  import java.util.ArrayList;
31  
32  /**
33   * <p></p>
34   * <p>
35   * Created: Jul 6, 2005 7:33:45 PM <br>
36   * Last Modification Date: $Date: 2006-11-08 11:52:38 -0300 (Wed, 08 Nov 2006) $
37   * </p>
38   *
39   * @author maldito_orco (maldito_orco@users.sourceforge.net)
40   * @version $Revision: 58 $
41   */
42  public class BaseFlowNodeListImpl implements FlowNodeList {
43      public static final String RCS_ID = "$Id: BaseFlowNodeListImpl.java 58 2006-11-08 14:52:38Z maldito_orco $";
44      private static Log log = LogFactory.getLog(BaseFlowNodeListImpl.class);
45  
46      private List flowNodeList = new ArrayList();
47  
48      public List getList() { return flowNodeList; }
49      public void add(FlowNodeDef flowNodeDef) {
50          flowNodeList.add(flowNodeDef);
51      }
52  
53  }