Class PrimaveraBaseReader

  • Direct Known Subclasses:
    PrimaveraXerReader, PrimaveraXmlReader

    public abstract class PrimaveraBaseReader
    extends Object

    Represents a base reader which can be used to read Project UIDs from multi project Primavera XER or XML files.

    • Method Detail

      • getProjectInfos

        public final List<PrimaveraProjectInfo> getProjectInfos()

        Return a list of the project's short info objects.

        Returns:
        a list of the project's short info objects
      • getProjectUids

        public final List<Integer> getProjectUids()

        Return a list of the projects' unique identifiers.

        Returns:
        List of projects' unique identifiers.
      • loadProject

        public final Project loadProject​(int projectUid)

        Loads the project with the specified unique identifier.

        Parameters:
        projectUid - Unique identifier of the project to load.
        Returns:
        Project with specified unique identifier from the specified multi project file. Null if project doesn't exist.