]> git.argeo.org Git - lgpl/argeo-commons.git/blob - security/runtime/org.argeo.security.core/src/main/java/org/argeo/security/nature/SimpleUserNature.java
Improve user editor
[lgpl/argeo-commons.git] / security / runtime / org.argeo.security.core / src / main / java / org / argeo / security / nature / SimpleUserNature.java
1 /*
2 * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 package org.argeo.security.nature;
18
19 import org.argeo.security.AbstractUserNature;
20
21 public class SimpleUserNature extends AbstractUserNature {
22 /**
23 * No PAI, for internal use within the Argeo Security framework. Will
24 * probably be removed.
25 */
26 public final static String TYPE = "simpleUser";
27
28 private static final long serialVersionUID = 1L;
29 private String email;
30 private String firstName;
31 private String lastName;
32 private String description;
33
34 public String getEmail() {
35 return email;
36 }
37
38 public void setEmail(String email) {
39 this.email = email;
40 }
41
42 public String getFirstName() {
43 return firstName;
44 }
45
46 public void setFirstName(String firstName) {
47 this.firstName = firstName;
48 }
49
50 public String getLastName() {
51 return lastName;
52 }
53
54 public void setLastName(String lastName) {
55 this.lastName = lastName;
56 }
57
58 public String getDescription() {
59 return description;
60 }
61
62 public void setDescription(String description) {
63 this.description = description;
64 }
65
66 }