public class Permission extends Object implements NamedEntity, IdentifiableEntity<Integer>
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<Permission,String> |
TO_KEY |
Constructor and Description |
---|
Permission(int id,
String key,
String name,
String description,
boolean havePermission) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDescription() |
Integer |
getId() |
String |
getKey() |
String |
getName() |
protected com.google.common.base.Objects.ToStringHelper |
getToStringHelper() |
int |
hashCode() |
boolean |
havePermission() |
String |
toString() |
public static final com.google.common.base.Function<Permission,String> TO_KEY
public Integer getId()
getId
in interface IdentifiableEntity<Integer>
public String getKey()
public String getName()
getName
in interface NamedEntity
public boolean havePermission()
protected com.google.common.base.Objects.ToStringHelper getToStringHelper()
Copyright © 2016 Atlassian. All rights reserved.