@Transactional(readOnly=true) public class User extends Object
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
String |
getRole() |
String |
getRole(Connection con) |
String |
getUserName() |
void |
setRole(String role) |
void |
setUserName(String userName) |
public User(String userName)
userId - public String getRole()
public void setRole(String role)
role - The role to set.public String getUserName()
public void setUserName(String userName)
userId - The userId to set.public String getRole(Connection con) throws TaskFailedException
TaskFailedExceptionpublic int getId()
throws TaskFailedException
TaskFailedExceptionCopyright © 2015–2017 eGovernments Foundation. All rights reserved.