01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * 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: package org.apache.cocoon.ojb.samples.bean;
18:
19: /**
20: * @version $Id: User.java 433543 2006-08-22 06:22:54Z crossley $
21: */
22: public class User {
23:
24: private int uid;
25: private String lastname;
26: private String firstname;
27: private String username;
28: private String password;
29: private String role;
30:
31: public String getFirstname() {
32: return firstname;
33: }
34:
35: public void setFirstname(String firstname) {
36: this .firstname = firstname;
37: }
38:
39: public String getLastname() {
40: return lastname;
41: }
42:
43: public void setLastname(String lastname) {
44: this .lastname = lastname;
45: }
46:
47: public String getPassword() {
48: return password;
49: }
50:
51: public void setPassword(String password) {
52: this .password = password;
53: }
54:
55: public String getRole() {
56: return role;
57: }
58:
59: public void setRole(String role) {
60: this .role = role;
61: }
62:
63: public int getUid() {
64: return uid;
65: }
66:
67: public void setUid(int uid) {
68: this .uid = uid;
69: }
70:
71: public String getUsername() {
72: return username;
73: }
74:
75: public void setUsername(String username) {
76: this.username = username;
77: }
78: }
|