Package se.bth.pulse.entity
Class Role
java.lang.Object
se.bth.pulse.entity.Role
This is the entity class for the table Role. This class models the table Roles meaning that each
instance of this class represents a row in the table. Using this class the table is created. This
class is used to hold the roles that can be connected to the user. The connection between user
and role is a one-to-many relationship. This means that one role can be connected to many users
but one user can only be connected to one role.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Role
public Role()
-
-
Method Details
-
setId
-
setName
-
setAuthorities
-