1   /*
2    * Copyright 2001-2004 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */ 
16   
17  package org.apache.commons.betwixt.nowrap;
18  
19  import java.util.ArrayList;
20  import java.util.List;
21  
22  
23  public class POTest
24  {
25      private static final boolean debug = false;
26  
27      private List componentTests;
28  
29      private String printingNumber = "";
30  
31      public POTest()
32      {
33          if (debug) System.out.println("-- INSTANTIATING NEW PO");
34          componentTests = new ArrayList();
35      }
36  
37      public List getComponenttests()
38      {
39          if (debug) System.out.println("-- GET PO.getComponents");
40          return this.componentTests;
41      }
42  
43      public void setComponenttests(List componentTests)
44      {
45      }
46  
47      public void addComponenttest(Componenttest c)
48      {
49          if (debug) System.out.println("-- ADD PO.addComponent");
50          componentTests.add(c);
51      }
52  
53      public void setPrintingNumber(String s)
54      {
55          if (debug) System.out.println("-- SET PO.setPrintingNumber");
56          printingNumber = s;
57      }
58  
59      public String getPrintingNumber()
60      {
61          if (debug) System.out.println("-- GET PO.getPrintingNumber");
62          return printingNumber;
63      }
64  }