Class PrimaveraReadOptions
- java.lang.Object
-
- com.aspose.tasks.PrimaveraReadOptions
-
public class PrimaveraReadOptions extends Object
Allows to specify additional options when reading Primavera Xml or Primavera Xer files.
-
-
Constructor Summary
Constructors Constructor Description PrimaveraReadOptions()Initializes a new instance of thePrimaveraReadOptionsclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetPreserveUids()Gets a flag that specifies whether original unique identifiers of entities should be preserved.intgetProjectUid()Gets the UID of a project to read from file containing multiple projects.booleangetReadBaselineProjects()Gets a flag that specifies whether baseline projects should be loaded.intgetUndefinedConstraintHandlingBehavior()Specifies the behavior used to process tasks with undefined constraints read from XER format.voidsetPreserveUids(boolean value)Sets a flag that specifies whether original unique identifiers of entities should be preserved.voidsetProjectUid(int value)Sets the UID of a project to read from file containing multiple projects.voidsetReadBaselineProjects(boolean value)Sets a flag that specifies whether baseline projects should be loaded.voidsetUndefinedConstraintHandlingBehavior(int value)Specifies the behavior used to process tasks with undefined constraints read from XER format.
-
-
-
Constructor Detail
-
PrimaveraReadOptions
public PrimaveraReadOptions()
Initializes a new instance of the
PrimaveraReadOptionsclass.
-
-
Method Detail
-
getPreserveUids
public final boolean getPreserveUids()
Gets a flag that specifies whether original unique identifiers of entities should be preserved.
- Returns:
- a flag that specifies whether original unique identifiers of entities should be preserved.
-
setPreserveUids
public final void setPreserveUids(boolean value)
Sets a flag that specifies whether original unique identifiers of entities should be preserved.
- Parameters:
value- a flag that specifies whether original unique identifiers of entities should be preserved.
-
getProjectUid
public final int getProjectUid()
Gets the UID of a project to read from file containing multiple projects.
- Returns:
- the UID of a project to read from file containing multiple projects.
-
setProjectUid
public final void setProjectUid(int value)
Sets the UID of a project to read from file containing multiple projects.
- Parameters:
value- the UID of a project to read from file containing multiple projects.
-
getReadBaselineProjects
public final boolean getReadBaselineProjects()
Gets a flag that specifies whether baseline projects should be loaded. The default value is true.
The flag is applicable to Primavera XML files containing baseline projects (baselines are not supported by XER format). The option can be set to false to speed up loading of a large project with baselines when baseline data is not needed.- Returns:
- a flag that specifies whether baseline projects should be loaded.
-
setReadBaselineProjects
public final void setReadBaselineProjects(boolean value)
Sets a flag that specifies whether baseline projects should be loaded. The default value is true.
The flag is applicable to Primavera XML files containing baseline projects (baselines are not supported by XER format). The option can be set to false to speed up loading of a large project with baselines when baseline data is not needed.- Parameters:
value- a flag that specifies whether baseline projects should be loaded.
-
getUndefinedConstraintHandlingBehavior
public final int getUndefinedConstraintHandlingBehavior()
Specifies the behavior used to process tasks with undefined constraints read from XER format.
- Returns:
- the behavior used to process tasks with undefined constraints read from XER format.
-
setUndefinedConstraintHandlingBehavior
public final void setUndefinedConstraintHandlingBehavior(int value)
Specifies the behavior used to process tasks with undefined constraints read from XER format.
- Parameters:
value- the behavior used to process tasks with undefined constraints read from XER format.
-
-