Class LogicalProgrammingElementAccess
- java.lang.Object
-
- com.hello2morrow.sonargraph.core.api.model.ElementAccess<com.hello2morrow.sonargraph.core.model.programming.LogicalProgrammingElement>
-
- com.hello2morrow.sonargraph.core.api.model.LogicalProgrammingElementAccess
-
- All Implemented Interfaces:
IElementAccess
,ILogicalProgrammingElementAccess
,INamedElementAccess
- Direct Known Subclasses:
LogicalModuleProgrammingElementAccess
,LogicalSystemProgrammingElementAccess
public abstract class LogicalProgrammingElementAccess extends ElementAccess<com.hello2morrow.sonargraph.core.model.programming.LogicalProgrammingElement> implements ILogicalProgrammingElementAccess
Access class for logical programming elements - children of logical namespaces.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.hello2morrow.sonargraph.core.api.model.ElementAccess
ElementAccess.IAccessFactory
-
Nested classes/interfaces inherited from interface com.hello2morrow.sonargraph.api.model.ILogicalProgrammingElementAccess
ILogicalProgrammingElementAccess.IVisitor
-
Nested classes/interfaces inherited from interface com.hello2morrow.sonargraph.api.model.INamedElementAccess
INamedElementAccess.INamedElementAccessVisitor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
accept(INamedElementAccess.INamedElementAccessVisitor visitor)
Internalabstract java.lang.Integer
getLogicalCohesionMetric()
abstract java.lang.Integer
getLogicalCouplingMetric()
java.lang.Object
getMetricLevel()
Internal use onlyjava.util.List<IProgrammingElementAccess>
getProgrammingElements()
abstract boolean
isSystemScope()
-
Methods inherited from class com.hello2morrow.sonargraph.core.api.model.ElementAccess
equals, getChildren, getElement, getFullyQualifiedName, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getIssueCount, getName, getNameWithSignature, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getParent, getParent, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElementsRecursively, getReferencingElementsRecursively, getShortName, getShortNameWithSignature, hashCode, ignoreIssues, isExcluded, isExternal, setFactory, toString
-
Methods inherited from interface com.hello2morrow.sonargraph.api.model.IElementAccess
getName, getNameWithSignature, getShortName, getShortNameWithSignature, ignoreIssues, isExcluded, isExternal
-
Methods inherited from interface com.hello2morrow.sonargraph.api.model.INamedElementAccess
getChildren, getFullyQualifiedName, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getIssueCount, getIssueCount, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getParent, getParent, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElementsRecursively, getReferencingElementsRecursively
-
-
-
-
Method Detail
-
getMetricLevel
public final java.lang.Object getMetricLevel()
Description copied from class:ElementAccess
Internal use only- Overrides:
getMetricLevel
in classElementAccess<com.hello2morrow.sonargraph.core.model.programming.LogicalProgrammingElement>
-
isSystemScope
public abstract boolean isSystemScope()
- Specified by:
isSystemScope
in interfaceILogicalProgrammingElementAccess
- Returns:
- 'true' if this is a system scope logical programming element.
-
getLogicalCohesionMetric
public abstract java.lang.Integer getLogicalCohesionMetric()
- Specified by:
getLogicalCohesionMetric
in interfaceILogicalProgrammingElementAccess
- Returns:
- the corresponding metric or 'null' if not available
-
getLogicalCouplingMetric
public abstract java.lang.Integer getLogicalCouplingMetric()
- Specified by:
getLogicalCouplingMetric
in interfaceILogicalProgrammingElementAccess
- Returns:
- the corresponding metric or 'null' if not available
-
getProgrammingElements
public final java.util.List<IProgrammingElementAccess> getProgrammingElements()
- Specified by:
getProgrammingElements
in interfaceILogicalProgrammingElementAccess
- Returns:
- The programming elements associated with this logical programming element - never 'null'.
-
accept
public void accept(INamedElementAccess.INamedElementAccessVisitor visitor)
Internal- Specified by:
accept
in interfaceINamedElementAccess
- Overrides:
accept
in classElementAccess<com.hello2morrow.sonargraph.core.model.programming.LogicalProgrammingElement>
- Parameters:
visitor
- The visitor implementation
-
-