Class Group
- java.lang.Object
-
- com.aspose.tasks.Group
-
public class Group extends Object
Represents a group definition. A Group object is a member of the ResourceGroups collection or the TaskGroups collection.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleangetGroupAssignments()Gets a value indicating whether assignments should be grouped instead of tasks.GroupCriterionCollectiongetGroupCriteria()Gets a GroupCriteria collection representing the fields in a group definition.intgetIndex()Deprecated.This member is obsolete and will be removed after release 25.7.booleangetMaintainHierarchy()Gets a value indicating whether to show all the levels of summary tasks for subtasks within group.StringgetName()Gets a name of a Group object.booleangetShowInMenu()Gets a value indicating whether Project shows the group name in the Group drop-down list in the Ribbon.booleangetShowSummary()Gets a value indicating whether summary rows are displayed for the group.intgetUid()Gets a unique identifier of a group.voidsetGroupAssignments(boolean value)Sets a value indicating whether assignments should be grouped instead of tasks.voidsetGroupCriteria(GroupCriterionCollection value)Sets a GroupCriteria collection representing the fields in a group definition.voidsetIndex(int value)Deprecated.This member is obsolete and will be removed after release 25.7.voidsetMaintainHierarchy(boolean value)Sets a value indicating whether to show all the levels of summary tasks for subtasks within group.voidsetName(String value)Sets a name of a Group object.voidsetShowInMenu(boolean value)Sets a value indicating whether Project shows the group name in the Group drop-down list in the Ribbon.voidsetShowSummary(boolean value)Sets a value indicating whether summary rows are displayed for the group.
-
-
-
Constructor Detail
-
Group
public Group()
Initializes a new instance of the
Groupclass.
-
-
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
Groupobject in the Groups list .- Returns:
- the index of a
Groupobject 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
Groupobject in the Groups list .- Parameters:
value- the index of aGroupobject 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.
-
-