@Entity public class SystemScope extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_VALUE |
static String |
QUERY_ALL |
static String |
QUERY_BY_VALUE |
Constructor and Description |
---|
SystemScope()
Make a blank system scope with no value
|
SystemScope(String value)
Make a system scope with the given scope value
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDescription() |
String |
getIcon() |
Long |
getId() |
String |
getValue() |
int |
hashCode() |
boolean |
isDefaultScope() |
boolean |
isRestricted() |
void |
setDefaultScope(boolean defaultScope) |
void |
setDescription(String description) |
void |
setIcon(String icon) |
void |
setId(Long id) |
void |
setRestricted(boolean restricted) |
void |
setValue(String value) |
String |
toString() |
public static final String QUERY_BY_VALUE
public static final String QUERY_ALL
public static final String PARAM_VALUE
public SystemScope()
public SystemScope(String value)
value
- public String getDescription()
public void setDescription(String description)
description
- the description to setpublic boolean isDefaultScope()
public void setDefaultScope(boolean defaultScope)
defaultScope
- the defaultScope to setpublic boolean isRestricted()
public void setRestricted(boolean restricted)
restricted
- the restricted to setCopyright © 2018. All rights reserved.