public class Scope extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Scope.NameComparator
Comparator based on scope names.
|
| Constructor and Description |
|---|
Scope() |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
extractNames(Scope[] scopes)
Extract scope names.
|
String |
getDescription()
Get the description.
|
TaggedValue[] |
getDescriptions()
Get descriptions for various languages.
|
String |
getName()
Get the scope name.
|
boolean |
isDefaultEntry()
Get the flag that indicates whether this scope is included in
the default scope list.
|
Scope |
setDefaultEntry(boolean defaultEntry)
Set the flag that indicates whether this scope is included in
the default scope list.
|
Scope |
setDescription(String description)
Set the description.
|
Scope |
setDescriptions(TaggedValue[] descriptions)
Set descriptions for various languages.
|
Scope |
setName(String name)
Set the scope name.
|
public String getName()
public Scope setName(String name)
name - The scope name.this object.public boolean isDefaultEntry()
true if this scope is included in the default
scope list. Otherwise, false.public Scope setDefaultEntry(boolean defaultEntry)
defaultEntry - true to include this scope in the default scope list.
Otherwise, false.this object.public String getDescription()
public Scope setDescription(String description)
description - The description.this object.public TaggedValue[] getDescriptions()
public Scope setDescriptions(TaggedValue[] descriptions)
descriptions - Descriptions.this object.Copyright © 2017. All rights reserved.