1   package org.apache.commons.betwixt.scarab;
2   
3   /*
4    * Copyright 2001-2004 The Apache Software Foundation.
5    * 
6    * Licensed under the Apache License, Version 2.0 (the "License");
7    * you may not use this file except in compliance with the License.
8    * You may obtain a copy of the License at
9    * 
10   *      http://www.apache.org/licenses/LICENSE-2.0
11   * 
12   * Unless required by applicable law or agreed to in writing, software
13   * distributed under the License is distributed on an "AS IS" BASIS,
14   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   * See the License for the specific language governing permissions and
16   * limitations under the License.
17   */ 
18  import java.io.Serializable;
19  
20  /***
21   * <p><code>GlobalAttributeOption</code> is a sample bean for use by the test cases.</p>
22   *
23   * @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a>
24   * @version $Id: GlobalAttributeOption.java,v 1.4 2002/06/05 07:57:07 jstrachan Exp $
25   */
26  public class GlobalAttributeOption implements Serializable
27  {
28      private String name;
29      private String preferredOrder;
30      private String childOption;
31  
32      /***
33       * Constructor for the ScarabSettings object
34       */
35      public GlobalAttributeOption()
36      { 
37      }
38      
39      public String toString() {
40          return super.toString() + "[name=" + name + ";childOption=" + childOption + "]";
41      }
42  
43      public void setName(String name)
44      {
45          this.name = name;
46      }
47      
48      public String getName()
49      {
50          return name;
51      }        
52  
53      public void setChildOption(String name)
54      {
55          this.childOption = name;
56      }
57      
58      public String getChildOption()
59      {
60          return childOption;
61      }        
62  
63      public String getPreferredOrder()
64      {
65          return preferredOrder;
66      }
67  
68      public void setPreferredOrder(String value)
69      {
70          this.preferredOrder = value;
71      }
72  }