Package com.nomagic.magicdraw.dependency
Interface ElementLocation
@OpenApiAll
public interface ElementLocation
Represents a location (module or project) of an element.
- Version:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptioncom.nomagic.ci.persistence.IAttachedProject
Returns module descriptor or null if an element is from project.Returns project or null if an element is from module.boolean
Returns true if the element location is project, otherwise - element location is module.
-
Method Details
-
getAttachedProject
com.nomagic.ci.persistence.IAttachedProject getAttachedProject()Returns module descriptor or null if an element is from project.- Returns:
- module descriptor.
-
getProject
Project getProject()Returns project or null if an element is from module.- Returns:
- project.
-
isProject
boolean isProject()Returns true if the element location is project, otherwise - element location is module.- Returns:
- true if the element location is project.
-