Group
Inheritance: java.lang.Object
public class Group
Represents a group definition. A Group object is a member of the ResourceGroups collection or the TaskGroups collection.
Constructors
Constructor | Description |
---|---|
Group() | Initializes a new instance of the Group class. |
Methods
Method | Description |
---|---|
getGroupAssignments() | Gets a value indicating whether assignments should be grouped instead of tasks. |
getGroupCriteria() | Gets a GroupCriteria collection representing the fields in a group definition. |
getIndex() | Gets the index of a Group object in the Groups containing object. |
getMaintainHierarchy() | Gets a value indicating whether to show all the levels of summary tasks for subtasks within group. |
getName() | Gets a name of a Group object. |
getShowInMenu() | Gets a value indicating whether Project shows the group name in the Group drop-down list in the Ribbon. |
getShowSummary() | Gets a value indicating whether summary rows are displayed for the group. |
getUid() | Gets a unique identifier of a group. |
setGroupAssignments(boolean value) | Sets a value indicating whether assignments should be grouped instead of tasks. |
setGroupCriteria(GroupCriterionCollection value) | Sets a GroupCriteria collection representing the fields in a group definition. |
setMaintainHierarchy(boolean value) | Sets a value indicating whether to show all the levels of summary tasks for subtasks within group. |
setName(String value) | Sets a name of a Group object. |
setShowInMenu(boolean value) | Sets a value indicating whether Project shows the group name in the Group drop-down list in the Ribbon. |
setShowSummary(boolean value) | Sets a value indicating whether summary rows are displayed for the group. |
Group()
public Group()
Initializes a new instance of the Group class.
getGroupAssignments()
public final boolean getGroupAssignments()
Gets a value indicating whether assignments should be grouped instead of tasks.
Returns: boolean - 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: GroupCriterionCollection - a GroupCriteria collection representing the fields in a group definition.
getIndex()
public final int getIndex()
Gets the index of a Group object in the Groups containing object.
Returns: int - the index of a Group object in the Groups containing object.
getMaintainHierarchy()
public final boolean getMaintainHierarchy()
Gets a value indicating whether to show all the levels of summary tasks for subtasks within group.
Returns: boolean - 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: java.lang.String - 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: boolean - 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: boolean - a value indicating whether summary rows are displayed for the group.
getUid()
public final int getUid()
Gets a unique identifier of a group.
Returns: int - a unique identifier of a group.
setGroupAssignments(boolean value)
public final void setGroupAssignments(boolean value)
Sets a value indicating whether assignments should be grouped instead of tasks.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether assignments should be grouped instead of tasks. |
setGroupCriteria(GroupCriterionCollection value)
public final void setGroupCriteria(GroupCriterionCollection value)
Sets a GroupCriteria collection representing the fields in a group definition.
Parameters:
Parameter | Type | Description |
---|---|---|
value | GroupCriterionCollection | a GroupCriteria collection representing the fields in a group definition. |
setMaintainHierarchy(boolean value)
public final void setMaintainHierarchy(boolean value)
Sets a value indicating whether to show all the levels of summary tasks for subtasks within group.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether to show all the levels of summary tasks for subtasks within group. |
setName(String value)
public final void setName(String value)
Sets a name of a Group object.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | a name of a Group object. |
setShowInMenu(boolean value)
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:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether Project shows the group name in the Group drop-down list in the Ribbon. |
setShowSummary(boolean value)
public final void setShowSummary(boolean value)
Sets a value indicating whether summary rows are displayed for the group.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether summary rows are displayed for the group. |