Class LogicalExternalAccess
- java.lang.Object
-
- com.hello2morrow.sonargraph.core.api.model.ElementAccess<com.hello2morrow.sonargraph.core.model.element.NamedElement>
-
- com.hello2morrow.sonargraph.core.api.model.LogicalExternalAccess
-
- All Implemented Interfaces:
IElementAccess
,ILogicalExternalAccess
,INamedElementAccess
public final class LogicalExternalAccess extends ElementAccess<com.hello2morrow.sonargraph.core.model.element.NamedElement> implements ILogicalExternalAccess
Access object for logical external root nodes.
-
-
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.ILogicalExternalAccess
ILogicalExternalAccess.IVisitor
-
Nested classes/interfaces inherited from interface com.hello2morrow.sonargraph.api.model.INamedElementAccess
INamedElementAccess.INamedElementAccessVisitor
-
-
Constructor Summary
Constructors Constructor Description LogicalExternalAccess(com.hello2morrow.sonargraph.core.model.element.NamedElement element)
Internal use only
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(INamedElementAccess.INamedElementAccessVisitor visitor)
Internaljava.lang.String
getLanguage()
Return the language of this root node.boolean
isSystemScope()
Returns true if this root node is for system scope namespaces.-
Methods inherited from class com.hello2morrow.sonargraph.core.api.model.ElementAccess
equals, getChildren, getElement, getFullyQualifiedName, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getIssueCount, getMetricLevel, 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 final boolean isSystemScope()
Returns true if this root node is for system scope namespaces.- Specified by:
isSystemScope
in interfaceILogicalExternalAccess
- Returns:
- see above
-
getLanguage
public final java.lang.String getLanguage()
Return the language of this root node.- Specified by:
getLanguage
in interfaceILogicalExternalAccess
- Returns:
- see above
-
accept
public void accept(INamedElementAccess.INamedElementAccessVisitor visitor)
Internal- Specified by:
accept
in interfaceINamedElementAccess
- Overrides:
accept
in classElementAccess<com.hello2morrow.sonargraph.core.model.element.NamedElement>
- Parameters:
visitor
- The visitor implementation
-
-