PrimaveraSaveOptions
Inheritance: java.lang.Object, com.aspose.tasks.SimpleSaveOptions
public class PrimaveraSaveOptions extends SimpleSaveOptions
Allows to specify additional options when saving project to Primavera XER format.
Constructors
Constructor | Description |
---|---|
PrimaveraSaveOptions() | Initializes a new instance of the PrimaveraSaveOptions class. |
Methods
Method | Description |
---|---|
getActivityIdIncrement() | Gets the increment used in renumbering of activity IDs. |
getActivityIdPrefix() | Gets the prefix used in renumbering of activity IDs. |
getActivityIdSuffix() | Gets the suffix used in renumbering of activity IDs. |
getRenumberActivityIds() | Gets a value indicating whether is need to renumbers activity IDs. |
getSkipSummaryAssignments() | Gets a value indicating whether assignments of resources to summary tasks should be skipped during export. |
setActivityIdIncrement(int value) | Sets the increment used in renumbering of activity IDs. |
setActivityIdPrefix(String value) | Sets the prefix used in renumbering of activity IDs. |
setActivityIdSuffix(int value) | Sets the suffix used in renumbering of activity IDs. |
setRenumberActivityIds(boolean value) | Sets a value indicating whether is need to renumbers activity IDs. |
setSkipSummaryAssignments(boolean value) | Sets a value indicating whether assignments of resources to summary tasks should be skipped during export. |
PrimaveraSaveOptions()
public PrimaveraSaveOptions()
Initializes a new instance of the PrimaveraSaveOptions class.
getActivityIdIncrement()
public final int getActivityIdIncrement()
Gets the increment used in renumbering of activity IDs.
Returns: int - the increment used in renumbering of activity IDs.
getActivityIdPrefix()
public final String getActivityIdPrefix()
Gets the prefix used in renumbering of activity IDs.
Returns: java.lang.String - the prefix used in renumbering of activity IDs.
getActivityIdSuffix()
public final int getActivityIdSuffix()
Gets the suffix used in renumbering of activity IDs.
Returns: int - the suffix used in renumbering of activity IDs.
getRenumberActivityIds()
public final boolean getRenumberActivityIds()
Gets a value indicating whether is need to renumbers activity IDs.
Returns: boolean - a value indicating whether is need to renumbers activity IDs.
getSkipSummaryAssignments()
public final boolean getSkipSummaryAssignments()
Gets a value indicating whether assignments of resources to summary tasks should be skipped during export.
Primavera software doesn’t support assignments of resources to summary (WBS) tasks. Thus, export of such assignments can result in an invalid file according to Primavera’s model. If true, assignments to summary tasks are skipped during export. If false (the default value), an exception will be thrown if assignment to a summary task is encountered during export.
Returns: boolean - a value indicating whether assignments of resources to summary tasks should be skipped during export.
setActivityIdIncrement(int value)
public final void setActivityIdIncrement(int value)
Sets the increment used in renumbering of activity IDs.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the increment used in renumbering of activity IDs. |
setActivityIdPrefix(String value)
public final void setActivityIdPrefix(String value)
Sets the prefix used in renumbering of activity IDs.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | the prefix used in renumbering of activity IDs. |
setActivityIdSuffix(int value)
public final void setActivityIdSuffix(int value)
Sets the suffix used in renumbering of activity IDs.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the suffix used in renumbering of activity IDs. |
setRenumberActivityIds(boolean value)
public final void setRenumberActivityIds(boolean value)
Sets a value indicating whether is need to renumbers activity IDs.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether is need to renumbers activity IDs. |
setSkipSummaryAssignments(boolean value)
public final void setSkipSummaryAssignments(boolean value)
Sets a value indicating whether assignments of resources to summary tasks should be skipped during export.
Primavera software doesn’t support assignments of resources to summary (WBS) tasks. Thus, export of such assignments can result in an invalid file according to Primavera’s model. If true, assignments to summary tasks are skipped during export. If false (the default value), an exception will be thrown if assignment to a summary task is encountered during export.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether assignments of resources to summary tasks should be skipped during export. |