|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.scope.impl.ScopeBean
public class ScopeBean
A object model of a scope.
| Nested Class Summary | |
|---|---|
static class |
ScopeBean.Type
Scope types * |
| Field Summary | |
|---|---|
protected static String |
separator
Scope separators used in linear syntax. |
| Constructor Summary | |
|---|---|
ScopeBean(String scope)
|
|
| Method Summary | |
|---|---|
ScopeBean |
enclosingScope()
Returns the enclosing scope, if any. |
boolean |
equals(Object obj)
|
int |
hashCode()
|
boolean |
is(ScopeBean.Type type)
Returns true if the scope has a given ScopeBean.Type. |
String |
name()
Returns the name of the scope. |
String |
toString()
Returns the linear expression of the scope. |
ScopeBean.Type |
type()
Returns the ScopeBean.Type of the scope. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static String separator
| Constructor Detail |
|---|
public ScopeBean(String scope)
throws IllegalArgumentException
IllegalArgumentException| Method Detail |
|---|
public String name()
public boolean is(ScopeBean.Type type)
true if the scope has a given ScopeBean.Type.
type - the type
true if the scope has the given type, false otherwisepublic ScopeBean.Type type()
ScopeBean.Type of the scope.
public ScopeBean enclosingScope()
null if the scope is top-levelpublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||