public enum TypeScope extends Enum<TypeScope> implements Scope
| Enum Constant and Description |
|---|
API_EXTERNAL
External API scope.
|
PERSISTENCE_SERVICE
Persistence services scope.
|
SERVICE
Service scope. |
UI_SERVICE
UIService scope. |
| Modifier and Type | Field and Description |
|---|---|
static TypeScope |
DEFAULT
Default scope.
|
| Modifier and Type | Method and Description |
|---|---|
static TypeScope |
get(String aId)
Get
TypeScope by id. |
String |
getId()
Scope unique identifier.
|
static TypeScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeScope PERSISTENCE_SERVICE
public static final TypeScope API_EXTERNAL
public static final TypeScope DEFAULT
public static TypeScope[] values()
for (TypeScope c : TypeScope.values()) System.out.println(c);
public static TypeScope valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2013–2019 BB Corp. All rights reserved.