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 Modifier and Type Method Description GroupCriterionCollection
getGroupCriteria()
Gets a GroupCriteria collection representing the fields in a group definition.int
getIndex()
Gets the index of aGroup
object in the Groups containing object.boolean
getMaintainHierarchy()
Gets a value indicating whether to show all the levels of summary tasks for subtasks within group.String
getName()
Gets a name of a Group object.Project
getParentProject()
Gets the parent of the Group object.boolean
getShowInMenu()
Gets a value indicating whether Project shows the group name in the Group drop-down list in the Ribbon.boolean
getShowSummary()
Gets a value indicating whether summary rows are displayed for the group.int
getUid()
Gets a unique identifier of a group.void
setGroupCriteria(GroupCriterionCollection value)
Sets a GroupCriteria collection representing the fields in a group definition.void
setMaintainHierarchy(boolean value)
Sets a value indicating whether to show all the levels of summary tasks for subtasks within group.void
setName(String value)
Sets a name of a Group object.void
setShowInMenu(boolean value)
Sets a value indicating whether Project shows the group name in the Group drop-down list in the Ribbon.void
setShowSummary(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
Group
class.
-
-
Method Detail
-
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
public final int getIndex()
Gets the index of a
Group
object in the Groups containing object.- Returns:
- 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:
- 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.
-
getParentProject
public final Project getParentProject()
Gets the parent of the Group object.
- Returns:
- the parent of the 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.
-
-