public class User extends Object implements Permissible
| Constructor and Description |
|---|
User() |
User(int id,
String pseudo,
String firstname,
String name,
String email,
String phone,
Group group,
HashMap<String,Boolean> permissions) |
| Modifier and Type | Method and Description |
|---|---|
String |
getEmail()
Returns the email of the User
|
String |
getFirstname()
Returns the firstname of the User
|
Group |
getGroup()
Returns the group of the User
|
int |
getId()
Returns the id of the User
|
String |
getName()
Returns the familyName of the User
|
HashMap<String,Boolean> |
getPermissions()
Return every permission witch the member is liable from
|
String |
getPhone()
Returns the phone of the User
|
String |
getPseudo()
Returns the pseudo of the User
|
void |
setGroup(Group group)
Sets the group
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithasPermissionpublic User(int id,
String pseudo,
String firstname,
String name,
String email,
String phone,
Group group,
HashMap<String,Boolean> permissions)
public User()
public int getId()
public String getPseudo()
public String getFirstname()
public String getName()
public String getEmail()
public String getPhone()
public Group getGroup()
public void setGroup(Group group)
group - the group to setpublic HashMap<String,Boolean> getPermissions()
PermissiblegetPermissions in interface PermissibleCopyright © 2019 Nowtryz. All rights reserved.