public class UserDTOLight extends Object implements UserView
Constructor and Description |
---|
UserDTOLight()
Constructor for UserDTOLight.
|
Modifier and Type | Method and Description |
---|---|
Long |
getId()
Getter for the field
id . |
String |
getUsername()
Getter for the field
username . |
Boolean |
isEnabled()
isEnabled
|
boolean |
isNew()
isNew
|
void |
setEnabled(boolean enabled)
Setter for the field
enabled . |
void |
setId(Long id)
Setter for the field
id . |
void |
setUsername(String username)
Setter for the field
username . |
public boolean isNew()
isNew
public String getUsername()
Getter for the field username
.
getUsername
in interface UserView
public void setUsername(String username)
Setter for the field username
.
username
- a String
object.public Long getId()
Getter for the field id
.
public Boolean isEnabled()
isEnabled
public void setEnabled(boolean enabled)
Setter for the field enabled
.
enabled
- a boolean.Copyright © 2015. All Rights Reserved.