@Entity @Component @SessionScoped public class User extends Object
@Component and @SessionScoped,
thus its instances can be injected to other classes who depend on Users.| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
Set<Dvd> |
getDvds() |
String |
getLogin() |
String |
getName() |
String |
getPassword() |
Set<DvdRental> |
getRents() |
void |
setLogin(String login) |
void |
setName(String name) |
void |
setPassword(String password) |
void |
setRents(Set<DvdRental> dvds) |
Copyright © 2015 Caelum. All Rights Reserved.