View Javadoc
1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership.  The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License.  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,
13   * software distributed under the License is distributed on an
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   * KIND, either express or implied.  See the License for the
16   * specific language governing permissions and limitations
17   * under the License.
18   */
19  package org.apache.syncope.fit.buildtools.cxf;
20  
21  import java.io.Serializable;
22  import java.util.UUID;
23  
24  public class User implements Serializable {
25  
26      private static final long serialVersionUID = -7906946710921162676L;
27  
28      public enum Status {
29          ACTIVE,
30          INACTIVE;
31  
32      }
33  
34      private UUID key;
35  
36      private String username;
37  
38      private String password;
39  
40      private String firstName;
41  
42      private String surname;
43  
44      private String email;
45  
46      private Status status;
47  
48      public UUID getKey() {
49          return key;
50      }
51  
52      public void setKey(final UUID key) {
53          this.key = key;
54      }
55  
56      public String getUsername() {
57          return username;
58      }
59  
60      public void setUsername(final String username) {
61          this.username = username;
62      }
63  
64      public String getPassword() {
65          return password;
66      }
67  
68      public void setPassword(final String password) {
69          this.password = password;
70      }
71  
72      public String getFirstName() {
73          return firstName;
74      }
75  
76      public void setFirstName(final String firstName) {
77          this.firstName = firstName;
78      }
79  
80      public String getSurname() {
81          return surname;
82      }
83  
84      public void setSurname(final String surname) {
85          this.surname = surname;
86      }
87  
88      public String getEmail() {
89          return email;
90      }
91  
92      public void setEmail(final String email) {
93          this.email = email;
94      }
95  
96      public Status getStatus() {
97          return status;
98      }
99  
100     public void setStatus(final Status status) {
101         this.status = status;
102     }
103 }