public class User extends Object
Modifier and Type | Class and Description |
---|---|
static class |
User.Builder |
Constructor and Description |
---|
User(int id) |
User(int id,
String name) |
User(int id,
String name,
List<Permission> permissions) |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
String |
getName() |
List<Permission> |
getPermissions() |
String |
toString() |
public User(int id, String name)
public User(int id)
public User(int id, String name, List<Permission> permissions)
Copyright © 2015. All rights reserved.