Package tv.hd3g.authkit.mod.entity
Class Role
- java.lang.Object
-
- tv.hd3g.authkit.mod.entity.BaseEntity
-
- tv.hd3g.authkit.mod.entity.Role
-
@Entity public class Role extends BaseEntity
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Set<Group>getGroups()StringgetName()StringgetOnlyforclient()Set<RoleRight>getRoleRights()voidsetDescription(String description)voidsetName(String name)voidsetOnlyforclient(String onlyforclient)StringtoString()-
Methods inherited from class tv.hd3g.authkit.mod.entity.BaseEntity
getCreated, getId, initCreate
-
-
-
-
Constructor Detail
-
Role
public Role()
NEVER USE DIRECTLY, ONLY SET FOR HIBERNATE
-
Role
public Role(String name)
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
setOnlyforclient
public void setOnlyforclient(String onlyforclient)
-
getOnlyforclient
public String getOnlyforclient()
-
-