public class TypePermissionItem extends Object implements Serializable
Constructor and Description |
---|
TypePermissionItem() |
Modifier and Type | Method and Description |
---|---|
String |
getCategory()
Category
|
String |
getDescription()
Description
|
String |
getLabel()
Label
|
PermType |
getType()
Permission type
|
boolean |
isEditable()
True, when the permission may be changed, false if not
|
boolean |
isValue()
Permission value.
|
TypePermissionItem |
setCategory(String category)
Set category
|
TypePermissionItem |
setDescription(String description)
Set description
|
TypePermissionItem |
setEditable(boolean editable)
Set editable flag
|
TypePermissionItem |
setLabel(String label)
Set label
|
TypePermissionItem |
setType(PermType type)
Set type
|
TypePermissionItem |
setValue(boolean value)
Set value
|
String |
toString() |
public PermType getType()
public TypePermissionItem setType(PermType type)
type
- typepublic String getLabel()
public TypePermissionItem setLabel(String label)
label
- labelpublic String getDescription()
public TypePermissionItem setDescription(String description)
description
- descriptionpublic String getCategory()
public TypePermissionItem setCategory(String category)
category
- categorypublic boolean isValue()
public TypePermissionItem setValue(boolean value)
value
- valuepublic boolean isEditable()
public TypePermissionItem setEditable(boolean editable)
editable
- flagCopyright © 2019 Gentics Software. All rights reserved.