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