Class Group


  • public class Group
    extends Object

    Represents a group definition. A Group object is a member of the ResourceGroups collection or the TaskGroups collection.

    • Constructor Summary

      Constructors 
      Constructor Description
      Group()
      Initializes a new instance of the Group class.
    • Constructor Detail

      • Group

        public Group()

        Initializes a new instance of the Group class.

    • Method Detail

      • getGroupAssignments

        public final boolean getGroupAssignments()

        Gets a value indicating whether assignments should be grouped instead of tasks.

        Returns:
        a value indicating whether assignments should be grouped instead of tasks.
      • setGroupAssignments

        public final void setGroupAssignments​(boolean value)

        Sets a value indicating whether assignments should be grouped instead of tasks.

        Parameters:
        value - a value indicating whether assignments should be grouped instead of tasks.
      • getGroupCriteria

        public final GroupCriterionCollection getGroupCriteria()

        Gets a GroupCriteria collection representing the fields in a group definition.

        Returns:
        a GroupCriteria collection representing the fields in a group definition.
      • setGroupCriteria

        public final void setGroupCriteria​(GroupCriterionCollection value)

        Sets a GroupCriteria collection representing the fields in a group definition.

        Parameters:
        value - a GroupCriteria collection representing the fields in a group definition.
      • getIndex

        @Deprecated
        public final int getIndex()
        Deprecated.
        This member is obsolete and will be removed after release 25.7.

        Gets the index of a Group object in the Groups list .

        Returns:
        the index of a Group object in the Groups list .
      • setIndex

        @Deprecated
        public final void setIndex​(int value)
        Deprecated.
        This member is obsolete and will be removed after release 25.7.

        Sets the index of a Group object in the Groups list .

        Parameters:
        value - the index of a Group object in the Groups list .
      • getMaintainHierarchy

        public final boolean getMaintainHierarchy()

        Gets a value indicating whether to show all the levels of summary tasks for subtasks within group.

        Returns:
        a value indicating whether to show all the levels of summary tasks for subtasks within group.
      • setMaintainHierarchy

        public final void setMaintainHierarchy​(boolean value)

        Sets a value indicating whether to show all the levels of summary tasks for subtasks within group.

        Parameters:
        value - a value indicating whether to show all the levels of summary tasks for subtasks within group.
      • getName

        public final String getName()

        Gets a name of a Group object.

        Returns:
        a name of a Group object.
      • setName

        public final void setName​(String value)

        Sets a name of a Group object.

        Parameters:
        value - a name of a Group object.
      • getShowInMenu

        public final boolean getShowInMenu()

        Gets a value indicating whether Project shows the group name in the Group drop-down list in the Ribbon.

        Returns:
        a value indicating whether Project shows the group name in the Group drop-down list in the Ribbon.
      • setShowInMenu

        public final void setShowInMenu​(boolean value)

        Sets a value indicating whether Project shows the group name in the Group drop-down list in the Ribbon.

        Parameters:
        value - a value indicating whether Project shows the group name in the Group drop-down list in the Ribbon.
      • getShowSummary

        public final boolean getShowSummary()

        Gets a value indicating whether summary rows are displayed for the group.

        Returns:
        a value indicating whether summary rows are displayed for the group.
      • setShowSummary

        public final void setShowSummary​(boolean value)

        Sets a value indicating whether summary rows are displayed for the group.

        Parameters:
        value - a value indicating whether summary rows are displayed for the group.
      • getUid

        public final int getUid()

        Gets a unique identifier of a group.

        Returns:
        a unique identifier of a group.