Package com.aspose.tasks
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 thePrimaveraReadOptions
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getPreserveUids()
Gets a flag that specifies whether original unique identifiers of entities should be preserved.int
getProjectUid()
Gets the UID of a project to read from file containing multiple projects.int
getUndefinedConstraintHandlingBehavior()
Specifies the behavior used to process tasks with undefined constraints read from XER format.void
setPreserveUids(boolean value)
Sets a flag that specifies whether original unique identifiers of entities should be preserved.void
setProjectUid(int value)
Sets the UID of a project to read from file containing multiple projects.void
setUndefinedConstraintHandlingBehavior(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
PrimaveraReadOptions
class.
-
-
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.
-
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.
-
-