public class LogicalNamespaceAccess extends ElementAccess<LogicalNamespace> implements ILogicalNamespaceAccess
ElementAccess.IAccessFactory
ILogicalNamespaceAccess.IVisitor
INamedElementAccess.INamedElementAccessVisitor
Modifier and Type | Method and Description |
---|---|
void |
accept(INamedElementAccess.INamedElementAccessVisitor visitor)
Internal
|
java.lang.Float |
getAbstractnessMetric() |
java.lang.Float |
getDistanceMetric() |
java.util.List<IAggregatedDependencyAccess> |
getIncomingDependenciesFlatRecursively(Aggregator aggr,
boolean excludeSelf,
boolean excludeExcluded,
IDependencyKind... types)
Compute the incoming aggregated dependencies of this element and all its children, but treats this namespace as "flat", i.e.
|
java.util.List<IAggregatedDependencyAccess> |
getIncomingDependenciesFlatRecursively(Aggregator aggr,
boolean excludeSelf,
IDependencyKind... types)
Compute the incoming aggregated dependencies of this element and all its children, but treats this namespace as "flat", i.e.
|
java.lang.Float |
getInstabilityMetric() |
IModuleAccess |
getModuleScope()
Get the associated module from the parser model.
|
java.lang.Integer |
getNumberOfIncomingDependenciesMetric() |
java.lang.Integer |
getNumberOfOutgoingDependenciesMetric() |
java.lang.Integer |
getNumberOfTypesMetric() |
java.util.List<IAggregatedDependencyAccess> |
getOutgoingDependenciesFlatRecursively(Aggregator aggr,
boolean excludeSelf,
boolean excludeExternals,
boolean excludeExcluded,
IDependencyKind... types)
Compute the outgoing aggregated dependencies of this element and all its children, but treats this namespace as "flat", i.e.
|
java.util.List<IAggregatedDependencyAccess> |
getOutgoingDependenciesFlatRecursively(Aggregator aggr,
boolean excludeSelf,
boolean excludeExternals,
IDependencyKind... types)
Compute the outgoing aggregated dependencies of this element and all its children, but treats this namespace as "flat", i.e.
|
java.util.List<IAggregatedDependencyAccess> |
getOutgoingDependenciesFlatRecursively(Aggregator aggr,
boolean excludeSelf,
IDependencyKind... types)
Compute the outgoing aggregated dependencies of this element and all its children, but treats this namespace as "flat", i.e.
|
java.util.List<IProgrammingElementAccess> |
getProgrammingElements()
Return the list of programming elements in this namespace.
|
java.util.List<INamedElementAccess> |
getReferencedElementsFlatRecursively(Aggregator aggr,
boolean excludeSelf,
boolean excludeExternals,
boolean excludeExcluded,
IDependencyKind... types)
Compute the list of referenced elements of this element and all its children, but treats this namespace as "flat", i.e.
|
java.util.List<INamedElementAccess> |
getReferencedElementsFlatRecursively(Aggregator aggr,
boolean excludeSelf,
boolean excludeExternals,
IDependencyKind... types)
Compute the list of referenced elements of this element and all its children, but treats this namespace as "flat", i.e.
|
java.util.List<INamedElementAccess> |
getReferencedElementsFlatRecursively(Aggregator aggr,
boolean excludeSelf,
IDependencyKind... types)
Compute the list of referenced elements of this element and all its children, but treats this namespace as "flat", i.e.
|
java.util.List<INamedElementAccess> |
getReferencingElementsFlatRecursively(Aggregator aggr,
boolean excludeSelf,
boolean excludeExcluded,
IDependencyKind... types)
Get a list of all elements referencing this element and its children, but treats this namespace as "flat", i.e.
|
java.util.List<INamedElementAccess> |
getReferencingElementsFlatRecursively(Aggregator aggr,
boolean excludeSelf,
IDependencyKind... types)
Get a list of all elements referencing this element and its children, but treats this namespace as "flat", i.e.
|
boolean |
isPart()
Returns true, if this is a logical namespace without types, only acting as a parent for nested namespaces.
|
boolean |
isSystemScope()
Returns true, if this is a system scope logical namespace.
|
equals, getChildren, getElement, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getName, getNameWithSignature, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getParent, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElementsRecursively, getReferencingElementsRecursively, getShortName, getShortNameWithSignature, hashCode, ignoreIssues, isExcluded, isExternal, toString
getChildren, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getParent, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElementsRecursively, getReferencingElementsRecursively
getName, getNameWithSignature, getShortName, getShortNameWithSignature, ignoreIssues, isExcluded, isExternal
public final IModuleAccess getModuleScope()
getModuleScope
in interface ILogicalNamespaceAccess
public final boolean isSystemScope()
isSystemScope
in interface ILogicalNamespaceAccess
public final boolean isPart()
isPart
in interface ILogicalNamespaceAccess
public final java.util.List<IProgrammingElementAccess> getProgrammingElements()
getProgrammingElements
in interface ILogicalNamespaceAccess
public final java.lang.Float getAbstractnessMetric()
getAbstractnessMetric
in interface ILogicalNamespaceAccess
public final java.lang.Integer getNumberOfTypesMetric()
getNumberOfTypesMetric
in interface ILogicalNamespaceAccess
public final java.lang.Float getDistanceMetric()
getDistanceMetric
in interface ILogicalNamespaceAccess
public final java.lang.Float getInstabilityMetric()
getInstabilityMetric
in interface ILogicalNamespaceAccess
public final java.lang.Integer getNumberOfIncomingDependenciesMetric()
getNumberOfIncomingDependenciesMetric
in interface ILogicalNamespaceAccess
public final java.lang.Integer getNumberOfOutgoingDependenciesMetric()
getNumberOfOutgoingDependenciesMetric
in interface ILogicalNamespaceAccess
public void accept(INamedElementAccess.INamedElementAccessVisitor visitor)
accept
in interface INamedElementAccess
accept
in class ElementAccess<LogicalNamespace>
visitor
- The visitor implementationpublic java.util.List<IAggregatedDependencyAccess> getOutgoingDependenciesFlatRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExternals, boolean excludeExcluded, IDependencyKind... types)
ILogicalNamespaceAccess
getOutgoingDependenciesFlatRecursively
in interface ILogicalNamespaceAccess
aggr
- 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> getOutgoingDependenciesFlatRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExternals, IDependencyKind... types)
ILogicalNamespaceAccess
getOutgoingDependenciesFlatRecursively
in interface ILogicalNamespaceAccess
aggr
- 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> getOutgoingDependenciesFlatRecursively(Aggregator aggr, boolean excludeSelf, IDependencyKind... types)
ILogicalNamespaceAccess
getOutgoingDependenciesFlatRecursively
in interface ILogicalNamespaceAccess
aggr
- 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> getIncomingDependenciesFlatRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExcluded, IDependencyKind... types)
ILogicalNamespaceAccess
getIncomingDependenciesFlatRecursively
in interface ILogicalNamespaceAccess
aggr
- 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> getIncomingDependenciesFlatRecursively(Aggregator aggr, boolean excludeSelf, IDependencyKind... types)
ILogicalNamespaceAccess
getIncomingDependenciesFlatRecursively
in interface ILogicalNamespaceAccess
aggr
- 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> getReferencingElementsFlatRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExcluded, IDependencyKind... types)
ILogicalNamespaceAccess
getReferencingElementsFlatRecursively
in interface ILogicalNamespaceAccess
aggr
- 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> getReferencingElementsFlatRecursively(Aggregator aggr, boolean excludeSelf, IDependencyKind... types)
ILogicalNamespaceAccess
getReferencingElementsFlatRecursively
in interface ILogicalNamespaceAccess
aggr
- 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> getReferencedElementsFlatRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExternals, boolean excludeExcluded, IDependencyKind... types)
ILogicalNamespaceAccess
getReferencedElementsFlatRecursively
in interface ILogicalNamespaceAccess
aggr
- 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> getReferencedElementsFlatRecursively(Aggregator aggr, boolean excludeSelf, boolean excludeExternals, IDependencyKind... types)
ILogicalNamespaceAccess
getReferencedElementsFlatRecursively
in interface ILogicalNamespaceAccess
aggr
- 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> getReferencedElementsFlatRecursively(Aggregator aggr, boolean excludeSelf, IDependencyKind... types)
ILogicalNamespaceAccess
getReferencedElementsFlatRecursively
in interface ILogicalNamespaceAccess
aggr
- 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)