Class LogicalSystemProgrammingElementAccess
- java.lang.Object
-
- com.hello2morrow.sonargraph.core.api.model.ElementAccess<com.hello2morrow.sonargraph.core.model.programming.LogicalProgrammingElement>
-
- com.hello2morrow.sonargraph.core.api.model.LogicalProgrammingElementAccess
-
- com.hello2morrow.sonargraph.core.api.model.LogicalSystemProgrammingElementAccess
-
- All Implemented Interfaces:
IElementAccess
,ILogicalProgrammingElementAccess
,INamedElementAccess
public final class LogicalSystemProgrammingElementAccess extends LogicalProgrammingElementAccess
Access class for logical system programming elements - children of logical system 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
-
-
Constructor Summary
Constructors Constructor Description LogicalSystemProgrammingElementAccess(com.hello2morrow.sonargraph.core.model.programming.LogicalProgrammingElement element)
Internal use only
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getLogicalCohesionMetric()
java.lang.Integer
getLogicalCouplingMetric()
boolean
isSystemScope()
-
Methods inherited from class com.hello2morrow.sonargraph.core.api.model.LogicalProgrammingElementAccess
accept, getMetricLevel, getProgrammingElements
-
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
-
isSystemScope
public boolean isSystemScope()
- Specified by:
isSystemScope
in interfaceILogicalProgrammingElementAccess
- Specified by:
isSystemScope
in classLogicalProgrammingElementAccess
- Returns:
- 'true' if this is a system scope logical programming element.
-
getLogicalCohesionMetric
public java.lang.Integer getLogicalCohesionMetric()
- Specified by:
getLogicalCohesionMetric
in interfaceILogicalProgrammingElementAccess
- Specified by:
getLogicalCohesionMetric
in classLogicalProgrammingElementAccess
- Returns:
- the corresponding metric or 'null' if not available
-
getLogicalCouplingMetric
public java.lang.Integer getLogicalCouplingMetric()
- Specified by:
getLogicalCouplingMetric
in interfaceILogicalProgrammingElementAccess
- Specified by:
getLogicalCouplingMetric
in classLogicalProgrammingElementAccess
- Returns:
- the corresponding metric or 'null' if not available
-
-