1 16 package org.apache.cocoon.ojb.samples.bean; 17 18 21 public class User { 22 23 private int uid; 24 private String lastname; 25 private String firstname; 26 private String username; 27 private String password; 28 private String role; 29 30 public String getFirstname() { 31 return firstname; 32 } 33 34 public void setFirstname(String firstname) { 35 this.firstname = firstname; 36 } 37 38 public String getLastname() { 39 return lastname; 40 } 41 42 public void setLastname(String lastname) { 43 this.lastname = lastname; 44 } 45 46 public String getPassword() { 47 return password; 48 } 49 50 public void setPassword(String password) { 51 this.password = password; 52 } 53 54 public String getRole() { 55 return role; 56 } 57 58 public void setRole(String role) { 59 this.role = role; 60 } 61 62 public int getUid() { 63 return uid; 64 } 65 66 public void setUid(int uid) { 67 this.uid = uid; 68 } 69 70 public String getUsername() { 71 return username; 72 } 73 74 public void setUsername(String username) { 75 this.username = username; 76 } 77 } 78 | Popular Tags |