PrimaveraBaseReader

Inheritance: java.lang.Object

public abstract class PrimaveraBaseReader

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

Methods

MethodDescription
getProjectUids()Return a list of the projects’ unique identifiers.
loadProject(int projectUid)Loads the project with the specified unique identifier.

getProjectUids()

public final List<Integer> getProjectUids()

Return a list of the projects’ unique identifiers.

Returns: java.util.List<java.lang.Integer> - List of projects’ unique identifiers.

loadProject(int projectUid)

public final Project loadProject(int projectUid)

Loads the project with the specified unique identifier.

Parameters:

ParameterTypeDescription
projectUidintUnique identifier of the project to load.

Returns: Project - Project with specified unique identifier from the specified multi project file. Null if project doesn’t exist.