Interface ElementLocation


  • @OpenApiAll
    public interface ElementLocation
    Represents a location (module or project) of an element.
    Version:
    1.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.nomagic.ci.persistence.IAttachedProject getAttachedProject()
      Returns module descriptor or null if an element is from project.
      Project getProject()
      Returns project or null if an element is from module.
      boolean isProject()
      Returns true if the element location is project, otherwise - element location is module.
    • Method Detail

      • 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.