net.sf.mpxj
Class Group

java.lang.Object
  extended by net.sf.mpxj.Group

public final class Group
extends Object

This class represents the definition of the grouping used to organise data in a view.


Constructor Summary
Group(Integer id, String name, boolean showSummaryTasks)
          Constructor.
 
Method Summary
 void addGroupClause(GroupClause clause)
          Adds a clause to the group definition.
 List<GroupClause> getGroupClauses()
          Retrieve a list of all clauses which define this group.
 Integer getID()
          Retrieve group ID.
 String getName()
          Retrieve the group name.
 boolean getShowSummaryTasks()
          Retrieve the show summary tasks flag.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Group

public Group(Integer id,
             String name,
             boolean showSummaryTasks)
Constructor.

Parameters:
id - group identifier
name - group name
showSummaryTasks - show summary tasks
Method Detail

getID

public Integer getID()
Retrieve group ID.

Returns:
group ID

getName

public String getName()
Retrieve the group name.

Returns:
group name

getShowSummaryTasks

public boolean getShowSummaryTasks()
Retrieve the show summary tasks flag.

Returns:
boolean flag

addGroupClause

public void addGroupClause(GroupClause clause)
Adds a clause to the group definition.

Parameters:
clause - group clause

getGroupClauses

public List<GroupClause> getGroupClauses()
Retrieve a list of all clauses which define this group.

Returns:
list of clauses

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.