1 19 20 package org.lucane.common.concepts; 21 22 public class UserConcept extends Concept 24 { 25 private String passwd; private String realName; 27 private String mailAddress; 28 private String language; 29 private boolean locked; 30 private String startupPlugin; 31 32 public UserConcept(String name) 33 { 34 super(name, ""); 35 } 36 37 public UserConcept(String name, String passwd, String realName, String mailAddress, 38 String language, boolean locked, String startupPlugin) 39 { 40 this(name); 41 this.passwd = passwd; 42 this.realName = realName; 43 this.mailAddress = mailAddress; 44 this.language = language; 45 this.locked = locked; 46 this.startupPlugin = startupPlugin; 47 } 48 49 public void setPassword(String password) 50 { 51 this.passwd = password; 52 } 53 54 public String getPassword() 55 { 56 return this.passwd; 57 } 58 59 public void setRealName(String realName) 60 { 61 this.realName = realName; 62 } 63 64 public String getRealName() 65 { 66 return this.realName; 67 } 68 69 public void setMailAddress(String mailAddress) 70 { 71 this.mailAddress = mailAddress; 72 } 73 74 public String getMailAddress() 75 { 76 return this.mailAddress; 77 } 78 79 public void setLanguage(String language) 80 { 81 this.language = language; 82 } 83 84 public String getLanguage() 85 { 86 return this.language; 87 } 88 89 public void setLocked(boolean locked) 90 { 91 this.locked = locked; 92 } 93 94 public boolean isLocked() 95 { 96 return this.locked; 97 } 98 99 public String getStartupPlugin() 100 { 101 return this.startupPlugin; 102 } 103 104 106 public boolean equals(Object o) 107 { 108 if(o instanceof UserConcept) 109 return this.name.equals(((UserConcept)o).name); 110 111 return false; 112 } 113 } 114 | Popular Tags |