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

ConstructorDescription
Group()Initializes a new instance of the Group class.

Methods

MethodDescription
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.
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.

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.

setGroupCriteria(GroupCriterionCollection value)

public final void setGroupCriteria(GroupCriterionCollection value)

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

Parameters:

ParameterTypeDescription
valueGroupCriterionCollectiona 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:

ParameterTypeDescription
valuebooleana 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:

ParameterTypeDescription
valuejava.lang.Stringa 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:

ParameterTypeDescription
valuebooleana 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:

ParameterTypeDescription
valuebooleana value indicating whether summary rows are displayed for the group.