Class RootAccess
- java.lang.Object
-
- com.hello2morrow.sonargraph.core.api.model.ElementAccess<com.hello2morrow.sonargraph.core.model.element.NamedElement>
-
- com.hello2morrow.sonargraph.core.api.model.RootAccess
-
- All Implemented Interfaces:
IElementAccess,INamedElementAccess
public final class RootAccess extends ElementAccess<com.hello2morrow.sonargraph.core.model.element.NamedElement>
Class representing the root of a model tree.
-
-
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.INamedElementAccess
INamedElementAccess.INamedElementAccessVisitor
-
-
Constructor Summary
Constructors Constructor Description RootAccess(com.hello2morrow.sonargraph.core.model.element.NamedElement element)Internal use only
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description INamedElementAccessgetParent()Provides access to the parent.-
Methods inherited from class com.hello2morrow.sonargraph.core.api.model.ElementAccess
accept, equals, getChildren, getElement, getFullyQualifiedName, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getIssueCount, getMetricLevel, getName, getNameWithSignature, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getParent, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElementsRecursively, getReferencingElementsRecursively, getShortName, getShortNameWithSignature, hashCode, ignoreIssues, isExcluded, isExternal, setFactory, toString
-
Methods inherited from interface com.hello2morrow.sonargraph.api.model.INamedElementAccess
getIssueCount
-
-
-
-
Method Detail
-
getParent
public INamedElementAccess getParent()
Description copied from class:ElementAccessProvides access to the parent.- Specified by:
getParentin interfaceINamedElementAccess- Overrides:
getParentin classElementAccess<com.hello2morrow.sonargraph.core.model.element.NamedElement>- Returns:
- the parent or 'null' if there is no parent.
-
-