2009/05/20 - Apache Shale has been retired.

For more information, please explore the Attic.

View Javadoc

1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * The ASF licenses this file to you under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    *
9    *      http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   *
17   * $Id: WizardData.java 464373 2006-10-16 04:21:54Z rahul $
18   */
19  
20  package org.apache.shale.examples.test.dialog.scxml;
21  
22  import java.io.Serializable;
23  
24  /***
25   * <p>State bean for the Wizard dialog.</p>
26   */
27  public class WizardData implements Serializable {
28  
29      private String username;
30      private String password;
31      private String name;
32      private String address1;
33      private String address2;
34      private String city;
35      private String state;
36      private String zipCode;
37      private boolean administrator;
38      private boolean enabled;
39  
40      public String getUsername() {
41          return username;
42      }
43  
44      public void setUsername(String username) {
45          this.username = username;
46      }
47  
48      public String getPassword() {
49          return password;
50      }
51  
52      public void setPassword(String password) {
53          this.password = password;
54      }
55  
56      public String getName() {
57          return name;
58      }
59  
60      public void setName(String name) {
61          this.name = name;
62      }
63  
64      public String getAddress1() {
65          return address1;
66      }
67  
68      public void setAddress1(String address1) {
69          this.address1 = address1;
70      }
71  
72      public String getAddress2() {
73          return address2;
74      }
75  
76      public void setAddress2(String address2) {
77          this.address2 = address2;
78      }
79  
80      public String getCity() {
81          return city;
82      }
83  
84      public void setCity(String city) {
85          this.city = city;
86      }
87  
88      public String getState() {
89          return state;
90      }
91  
92      public void setState(String state) {
93          this.state = state;
94      }
95  
96      public String getZipCode() {
97          return zipCode;
98      }
99  
100     public void setZipCode(String zipCode) {
101         this.zipCode = zipCode;
102     }
103 
104     public boolean isAdministrator() {
105         return administrator;
106     }
107 
108     public void setAdministrator(boolean administrator) {
109         this.administrator = administrator;
110     }
111 
112     public boolean isEnabled() {
113         return enabled;
114     }
115 
116     public void setEnabled(boolean enabled) {
117         this.enabled = enabled;
118     }
119 
120 
121 }