1 package org.exoplatform.services.organization.impl; 2 3 import java.util.Date ; 4 5 import org.exoplatform.services.organization.User; 6 9 public class UserImpl implements User { 10 11 private String id = null; 12 private String userName = null; 13 private String password = null; 14 private String firstName = null; 15 private String lastName = null; 16 private String email = null; 17 private Date createdDate ; 18 private Date lastLoginTime ; 19 20 public UserImpl() { 21 } 22 23 26 public String getId() { return id; } 27 public void setId(String id) { this.id = id; } 28 29 32 public String getUserName() { return userName; } 33 public void setUserName(String name) { this.userName = name; } 34 35 38 public String getPassword() { return password; } 39 public void setPassword(String password) { this.password = password; } 40 41 44 public String getFirstName() { return firstName; } 45 public void setFirstName(String firstName) { this.firstName = firstName; } 46 47 50 public String getLastName() { return lastName; } 51 public void setLastName(String lastName) { this.lastName = lastName; } 52 53 56 public String getEmail() { return email; } 57 public void setEmail(String email) { this.email = email; } 58 59 public String getFullName() { 61 return getFirstName() + " " + getLastName(); 62 } 63 64 public void setFullName(String fullName) { 65 66 } 67 68 71 public Date getCreatedDate() { return createdDate ; } 72 public void setCreatedDate(Date t) { createdDate = t ; } 73 74 77 public Date getLastLoginTime() { return lastLoginTime ; } 78 public void setLastLoginTime(Date t) { lastLoginTime = t ; } 79 80 public String toString() { 82 return "User[" + id + "|" + userName + "]"; 83 } 84 } | Popular Tags |