01: package org.apache.commons.betwixt.scarab;
02:
03: /*
04: * Licensed to the Apache Software Foundation (ASF) under one or more
05: * contributor license agreements. See the NOTICE file distributed with
06: * this work for additional information regarding copyright ownership.
07: * The ASF licenses this file to You under the Apache License, Version 2.0
08: * (the "License"); you may not use this file except in compliance with
09: * 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: 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: public String toString() {
39: return super .toString() + "[name=" + name + ";childOption="
40: + childOption + "]";
41: }
42:
43: public void setName(String name) {
44: this .name = name;
45: }
46:
47: public String getName() {
48: return name;
49: }
50:
51: public void setChildOption(String name) {
52: this .childOption = name;
53: }
54:
55: public String getChildOption() {
56: return childOption;
57: }
58:
59: public String getPreferredOrder() {
60: return preferredOrder;
61: }
62:
63: public void setPreferredOrder(String value) {
64: this.preferredOrder = value;
65: }
66: }
|