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()
ScopeViewgetAttribution in interface ScopeViewpublic Iterable<IEObjectDescription> getAllElements()
public ElementCS getChild()
ScopeViewpublic EStructuralFeature getContainmentFeature()
ScopeViewgetContainmentFeature in interface ScopeViewpublic Iterable<IEObjectDescription> getElements(QualifiedName name)
public Iterable<IEObjectDescription> getElements(EObject object)
public IScopeView getParent()
ScopeViewgetParent in interface ScopeViewgetParent in interface IScopeViewpublic IScopeView getRoot()
ScopeViewgetRoot in interface ScopeViewgetRoot in interface IScopeViewpublic IEObjectDescription getSingleElement(EObject object)
public IEObjectDescription getSingleElement(QualifiedName name)
public final ElementCS getTarget()
ScopeViewpublic final boolean isQualified()
ScopeViewisQualified in interface ScopeViewpublic String toString()
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.