public abstract class ElementAccess<T extends Element> extends java.lang.Object implements INamedElementAccess
| Modifier and Type | Class and Description |
|---|---|
static interface |
ElementAccess.IAccessFactory
This is an internal interface and should no be used.
|
INamedElementAccess.INamedElementAccessVisitor| Modifier and Type | Method and Description |
|---|---|
void |
accept(INamedElementAccess.INamedElementAccessVisitor visitor)
Visit this element.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<? extends INamedElementAccess> |
getChildren()
Provides access to the children.
|
T |
getElement()
Internal use only
|
java.util.List<IAggregatedDependencyAccess> |
getIncomingDependenciesRecursively(Aggregator aggr,
boolean excludeSelf,
boolean excludeExcluded,
IDependencyKind... types)
Compute the incoming aggregated dependencies of this element and all its children.
|
java.util.List<IAggregatedDependencyAccess> |
getIncomingDependenciesRecursively(Aggregator aggr,
boolean excludeSelf,
IDependencyKind... types)
Compute the incoming aggregated dependencies of this element and all its children, excluding excluded elements.
|
java.lang.String |
getName()
The (full) name without (potential) signature parts.
|
java.lang.String |
getNameWithSignature()
The (full) name with (potential) signature parts.
|
java.util.List<IAggregatedDependencyAccess> |
getOutgoingDependenciesRecursively(Aggregator aggr,
boolean excludeSelf,
boolean excludeExternals,
boolean excludeExcluded,
IDependencyKind... types)
Compute the outgoing aggregated dependencies of this element and all its children.
|
java.util.List<IAggregatedDependencyAccess> |
getOutgoingDependenciesRecursively(Aggregator aggr,
boolean excludeSelf,
boolean excludeExternals,
IDependencyKind... types)
Compute the outgoing aggregated dependencies of this element and all its children.
|
java.util.List<IAggregatedDependencyAccess> |
getOutgoingDependenciesRecursively(Aggregator aggr,
boolean excludeSelf,
IDependencyKind... types)
Compute the outgoing aggregated dependencies of this element and all its children.
|
INamedElementAccess |
getParent()
Provides access to the parent.
|
java.util.List<INamedElementAccess> |
getReferencedElementsRecursively(Aggregator aggr,
boolean excludeSelf,
boolean excludeExternals,
boolean excludeExcluded,
IDependencyKind... types)
Compute the list of referenced elements of this element and all its children.
|
java.util.List<INamedElementAccess> |
getReferencedElementsRecursively(Aggregator aggr,
boolean excludeSelf,
boolean excludeExternals,
IDependencyKind... types)
Compute the list of referenced elements of this element and all its children, excluding excluded elements.
|
java.util.List<INamedElementAccess> |
getReferencedElementsRecursively(Aggregator aggr,
boolean excludeSelf,
IDependencyKind... types)
Compute the list of referenced elements of this element and all its children, including external elements, excluding excluded elements.
|
java.util.List<INamedElementAccess> |
getReferencingElementsRecursively(Aggregator aggr,
boolean excludeSelf,
boolean excludeExcluded,
IDependencyKind... types)
Get a list of all elements referencing this element and its children.
|
java.util.List<INamedElementAccess> |
getReferencingElementsRecursively(Aggregator aggr,
boolean excludeSelf,
IDependencyKind... types)
Get a list of all elements referencing this element and its children, excluding excluded elements.
|
java.lang.String |
getShortName()
The short name without (potential) signature parts.
|
java.lang.String |
getShortNameWithSignature()
The short name with potential signature parts.
|
int |
hashCode() |
boolean |
ignoreIssues()
Issues of elements matched by the issue filter (workspace setup) should be ignored.
|
boolean |
isExcluded()
The exclusion state.
|
boolean |
isExternal()
The external state.
|
java.lang.String |
toString() |
public T getElement()
public INamedElementAccess getParent()
getParent in interface INamedElementAccesspublic final java.util.List<? extends INamedElementAccess> getChildren()
getChildren in interface INamedElementAccesspublic final java.lang.String getName()
getName in interface IElementAccesspublic final java.lang.String getShortName()
getShortName in interface IElementAccesspublic final java.lang.String getNameWithSignature()
getNameWithSignature in interface IElementAccesspublic final java.lang.String getShortNameWithSignature()
getShortNameWithSignature in interface IElementAccesspublic boolean isExternal()
isExternal in interface IElementAccesspublic final boolean isExcluded()
isExcluded in interface IElementAccesspublic final boolean ignoreIssues()
ignoreIssues in interface IElementAccesspublic java.util.List<IAggregatedDependencyAccess> getOutgoingDependenciesRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExternals, boolean excludeExcluded, IDependencyKind... types)
getOutgoingDependenciesRecursively in interface INamedElementAccessaggr - The desired level of aggregationexcludeSelf - If true, exclude all dependencies targeting this object or its childrenexcludeExternals - If true, exclude all dependencies targeting external objects.excludeExcluded - If true, exclude all dependencies targeting excluded objects.types - List of dependency types (if empty, all dependencies will be returned)public java.util.List<IAggregatedDependencyAccess> getOutgoingDependenciesRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExternals, IDependencyKind... types)
getOutgoingDependenciesRecursively in interface INamedElementAccessaggr - The desired level of aggregationexcludeSelf - If true, exclude all dependencies targeting this object or its childrenexcludeExternals - If true, exclude all dependencies targeting external objects.types - List of dependency types (if empty, all dependencies will be returned)public java.util.List<IAggregatedDependencyAccess> getOutgoingDependenciesRecursively(Aggregator aggr, boolean excludeSelf, IDependencyKind... types)
getOutgoingDependenciesRecursively in interface INamedElementAccessaggr - The desired level of aggregationexcludeSelf - If true, exclude all dependencies targeting this object or its childrentypes - List of dependency types (if empty, all dependencies will be returned)public java.util.List<IAggregatedDependencyAccess> getIncomingDependenciesRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExcluded, IDependencyKind... types)
getIncomingDependenciesRecursively in interface INamedElementAccessaggr - The desired level of aggregationexcludeSelf - If true, exclude all dependencies coming from this object or its childrenexcludeExcluded - If true, exclude all dependencies coming from excluded elementstypes - List of dependency types (if empty, all dependencies will be returned)public java.util.List<IAggregatedDependencyAccess> getIncomingDependenciesRecursively(Aggregator aggr, boolean excludeSelf, IDependencyKind... types)
getIncomingDependenciesRecursively in interface INamedElementAccessaggr - The desired level of aggregationexcludeSelf - If true, exclude all dependencies coming from this object or its childrentypes - List of dependency types (if empty, all dependencies will be returned)public java.util.List<INamedElementAccess> getReferencedElementsRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExternals, boolean excludeExcluded, IDependencyKind... types)
getReferencedElementsRecursively in interface INamedElementAccessaggr - The desired level of aggregationexcludeSelf - If true, exclude this object and its children from the resulting listexcludeExternals - If true, exclude all external objects.excludeExcluded - If true, exclude all excluded objects.types - List of dependency types (if empty, all dependencies will be returned)public java.util.List<INamedElementAccess> getReferencedElementsRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExternals, IDependencyKind... types)
getReferencedElementsRecursively in interface INamedElementAccessaggr - The desired level of aggregationexcludeSelf - If true, exclude this object and its children from the resulting listexcludeExternals - If true, exclude all external objects.types - List of dependency types (if empty, all dependencies will be returned)public java.util.List<INamedElementAccess> getReferencedElementsRecursively(Aggregator aggr, boolean excludeSelf, IDependencyKind... types)
getReferencedElementsRecursively in interface INamedElementAccessaggr - The desired level of aggregationexcludeSelf - If true, exclude this object and its children from the resulting listtypes - List of dependency types (if empty, all dependencies will be returned)public java.util.List<INamedElementAccess> getReferencingElementsRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExcluded, IDependencyKind... types)
getReferencingElementsRecursively in interface INamedElementAccessaggr - The desired level of aggregationexcludeSelf - If true, exclude this object and its children from the resulting listexcludeExcluded - If true, exclude all excluded objects.types - List of dependency types (if empty, all dependencies will be returned)public java.util.List<INamedElementAccess> getReferencingElementsRecursively(Aggregator aggr, boolean excludeSelf, IDependencyKind... types)
getReferencingElementsRecursively in interface INamedElementAccessaggr - The desired level of aggregationexcludeSelf - If true, exclude this object and its children from the resulting listtypes - List of dependency types (if empty, all dependencies will be returned)public void accept(INamedElementAccess.INamedElementAccessVisitor visitor)
INamedElementAccessaccept in interface INamedElementAccessvisitor - The visitor implementationpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object