Class PrimaveraSaveOptions


  • public class PrimaveraSaveOptions
    extends SimpleSaveOptions

    Allows to specify additional options when saving project to Primavera XER format.

    • Constructor Detail

      • PrimaveraSaveOptions

        public PrimaveraSaveOptions()

        Initializes a new instance of the PrimaveraSaveOptions class.

    • Method Detail

      • getActivityIdIncrement

        public final int getActivityIdIncrement()

        Gets the increment used in renumbering of activity IDs.

        Returns:
        the increment used in renumbering of activity IDs.
      • setActivityIdIncrement

        public final void setActivityIdIncrement​(int value)

        Sets the increment used in renumbering of activity IDs.

        Parameters:
        value - the increment used in renumbering of activity IDs.
      • getActivityIdPrefix

        public final String getActivityIdPrefix()

        Gets the prefix used in renumbering of activity IDs.

        Returns:
        the prefix used in renumbering of activity IDs.
      • setActivityIdPrefix

        public final void setActivityIdPrefix​(String value)

        Sets the prefix used in renumbering of activity IDs.

        Parameters:
        value - the prefix used in renumbering of activity IDs.
      • getActivityIdSuffix

        public final int getActivityIdSuffix()

        Gets the suffix used in renumbering of activity IDs.

        Returns:
        the suffix used in renumbering of activity IDs.
      • setActivityIdSuffix

        public final void setActivityIdSuffix​(int value)

        Sets the suffix used in renumbering of activity IDs.

        Parameters:
        value - 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:
        a value indicating whether is need to renumbers activity IDs.
      • setRenumberActivityIds

        public final void setRenumberActivityIds​(boolean value)

        Sets a value indicating whether is need to renumbers activity IDs.

        Parameters:
        value - 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:
        a value indicating whether assignments of resources to summary tasks should be skipped during export.
      • setSkipSummaryAssignments

        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:
        value - a value indicating whether assignments of resources to summary tasks should be skipped during export.