|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.metadata.spi.scope.ScopeKey
public class ScopeKey
ScopeKey.
| Field Summary | |
|---|---|
static ScopeKey |
DEFAULT_SCOPE
The default scope |
| Constructor Summary | |
|---|---|
ScopeKey()
Create a new ScopeKey. |
|
ScopeKey(Collection<Scope> scopes)
Create a new ScopeKey. |
|
ScopeKey(Scope scope)
Create a new ScopeKey. |
|
ScopeKey(Scope[] scopes)
Create a new ScopeKey. |
|
ScopeKey(ScopeLevel level,
Object qualifier)
Create a new ScopeKey. |
|
| Method Summary | |
|---|---|
Scope |
addScope(Scope scope)
Add a scope |
Scope |
addScope(ScopeLevel level,
Object qualifier)
Add a scope |
ScopeKey |
clone()
|
boolean |
equals(Object object)
|
void |
freeze()
Set to frozen. |
ScopeLevel |
getMaxScopeLevel()
Get the maximum scope level |
ScopeKey |
getParent()
Get the parent scope key |
Scope |
getScope(ScopeLevel level)
Get a scope |
Scope |
getScopeLevel(ScopeLevel scopeLevel)
Get a scope level |
Collection<Scope> |
getScopes()
Get the scopes |
int |
hashCode()
|
boolean |
isFrozen()
Get the frozen. |
boolean |
isParent(ScopeKey key)
|
Scope |
removeScope(Scope scope)
Remove a scope |
Scope |
removeScopeLevel(ScopeLevel scopeLevel)
Remove a scope level |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static ScopeKey DEFAULT_SCOPE
| Constructor Detail |
|---|
public ScopeKey()
public ScopeKey(Scope scope)
scope - the scope
public ScopeKey(ScopeLevel level,
Object qualifier)
level - the scope levelqualifier - the scope qualifierpublic ScopeKey(Collection<Scope> scopes)
scopes - the scopespublic ScopeKey(Scope[] scopes)
scopes - the scopes| Method Detail |
|---|
public boolean isFrozen()
public void freeze()
public Collection<Scope> getScopes()
public Scope getScope(ScopeLevel level)
level - the scope level
public ScopeLevel getMaxScopeLevel()
public ScopeKey getParent()
public boolean isParent(ScopeKey key)
public Scope addScope(Scope scope)
scope - the scope
public Scope addScope(ScopeLevel level,
Object qualifier)
level - the scope levelqualifier - the scope qualifier
public Scope removeScope(Scope scope)
scope - the scope
public Scope getScopeLevel(ScopeLevel scopeLevel)
scopeLevel - the scope level
public Scope removeScopeLevel(ScopeLevel scopeLevel)
scopeLevel - the scope level
public String toString()
toString in class Objectpublic boolean equals(Object object)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic ScopeKey clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||