Class Role
- java.lang.Object
-
- uk.ac.warwick.dcs.sherlock.module.web.data.models.db.Role
-
@Entity public class Role extends java.lang.Object
The database table storing the roles assigned to each account
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Account
getAccount()
long
getId()
java.lang.String
getName()
void
setAccount(Account account)
void
setId(long id)
void
setName(java.lang.String name)
-
-
-
Constructor Detail
-
Role
public Role()
-
Role
public Role(java.lang.String name, Account account)
-
-