Package org.molgenis.data.security.auth
Class Role
- java.lang.Object
-
- org.molgenis.data.support.StaticEntity
-
- org.molgenis.data.security.auth.Role
-
- All Implemented Interfaces:
Entity,org.molgenis.util.i18n.Identifiable
public class Role extends StaticEntity
-
-
Constructor Summary
Constructors Constructor Description Role(String id, EntityType entityType)Role(Entity entity)Role(EntityType entityType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetDescription(String languageCode)GroupgetGroup()StringgetId()Iterable<Role>getIncludes()StringgetLabel()StringgetLabel(String languageCode)StringgetName()voidsetDescription(String description)voidsetDescription(String languageCode, String label)voidsetGroup(Group group)voidsetId(String id)voidsetIncludes(Iterable<Role> roles)voidsetLabel(String label)voidsetLabel(String languageCode, String label)voidsetName(String name)-
Methods inherited from class org.molgenis.data.support.StaticEntity
get, getAttributeNames, getBoolean, getDouble, getEntities, getEntities, getEntity, getEntity, getEntityType, getIdValue, getInstant, getInt, getLabelValue, getLocalDate, getLong, getString, init, set, set, setIdValue, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.molgenis.data.Entity
get, getBoolean, getDouble, getEntities, getEntities, getEntity, getEntity, getInstant, getInt, getLocalDate, getLong, getString, set
-
-
-
-
Constructor Detail
-
Role
public Role(Entity entity)
-
Role
public Role(EntityType entityType)
-
Role
public Role(String id, EntityType entityType)
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
setGroup
public void setGroup(Group group)
-
getGroup
public Group getGroup()
-
-