Interface IAssignableElementAccess
-
- All Superinterfaces:
IElementAccess
,INamedElementAccess
public interface IAssignableElementAccess extends INamedElementAccess
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.hello2morrow.sonargraph.api.INamedElementAccess
INamedElementAccess.INamedElementAccessVisitor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IComponentAccess
asComponent()
Return the assigned element as component.INamedElementAccess
asElement()
Return the access object for the assigned element.ITypeAccess
asType()
Return the assigned element as a type.-
Methods inherited from interface com.hello2morrow.sonargraph.api.IElementAccess
getName, getNameWithSignature, getShortName, getShortNameWithSignature, ignoreIssues, isExcluded, isExternal
-
Methods inherited from interface com.hello2morrow.sonargraph.api.INamedElementAccess
accept, getChildren, getFullyQualifiedName, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getIssueCount, getIssueCount, getIssueCount, getIssueCount, getIssueCount, getIssues, getIssues, getIssues, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getParent, getParent, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElementsRecursively, getReferencingElementsRecursively
-
-
-
-
Method Detail
-
asElement
INamedElementAccess asElement()
Return the access object for the assigned element.- Returns:
- The assigned element.
-
asType
ITypeAccess asType()
Return the assigned element as a type. (Only works for logical architecture models)- Returns:
- The assigned type or null, if the model is physical or the assigned element is not a type.
-
asComponent
IComponentAccess asComponent()
Return the assigned element as component. (Only works for physical architecture models)- Returns:
- The assigned component or null, if the model is logical.
-
-