public class BaseScopeView extends AbstractScope implements IScopeView
Modifier and Type | Field and Description |
---|---|
static IScopeView |
NULLSCOPEVIEW
The
NULLSCOPEVIEW to be returned by the most outer scope |
Modifier and Type | Method and Description |
---|---|
Iterable<IEObjectDescription> |
getAllElements() |
Attribution |
getAttribution()
Return Attribution instance that defines the lookup algorithm for the target node.
|
ElementCS |
getChild()
Return the immediate child node for which a lookup is requested.
|
EStructuralFeature |
getContainmentFeature()
Return the containment feature of the child within the target.
|
Iterable<IEObjectDescription> |
getElements(EObject object) |
Iterable<IEObjectDescription> |
getElements(QualifiedName name) |
IScopeView |
getParent()
Return the ScopeView that characterizes a lookup in the parent of the target node.
|
IScopeView |
getRoot()
Return the ScopeView that characterizes a lookup at the top level.
|
static BaseScopeView |
getScopeView(EnvironmentFactoryInternal environmentFactory,
ElementCS target,
EReference targetReference) |
IEObjectDescription |
getSingleElement(EObject object) |
IEObjectDescription |
getSingleElement(QualifiedName name) |
ElementCS |
getTarget()
Return the target node at which this ScopeView characterizes a lookup.
|
boolean |
isQualified()
Return true if the lookup is within a qualified name.
|
String |
toString() |
public static final IScopeView NULLSCOPEVIEW
NULLSCOPEVIEW
to be returned by the most outer scopepublic static BaseScopeView getScopeView(EnvironmentFactoryInternal environmentFactory, ElementCS target, EReference targetReference)
public Attribution getAttribution()
ScopeView
getAttribution
in interface ScopeView
public Iterable<IEObjectDescription> getAllElements()
public ElementCS getChild()
ScopeView
public EStructuralFeature getContainmentFeature()
ScopeView
getContainmentFeature
in interface ScopeView
public Iterable<IEObjectDescription> getElements(QualifiedName name)
public Iterable<IEObjectDescription> getElements(EObject object)
public IScopeView getParent()
ScopeView
getParent
in interface ScopeView
getParent
in interface IScopeView
public IScopeView getRoot()
ScopeView
getRoot
in interface ScopeView
getRoot
in interface IScopeView
public IEObjectDescription getSingleElement(EObject object)
public IEObjectDescription getSingleElement(QualifiedName name)
public final ElementCS getTarget()
ScopeView
public final boolean isQualified()
ScopeView
isQualified
in interface ScopeView
public String toString()
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.