|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mpxj.Table
public final class Table
This class represents the definition of a table of data from an MPP file. Much of the important information held in MS Project is represented in a tabular format. This class represents the attributes associated with these tables. For example, the attributes of the table of data that appears as the left hand part of the standard Gantt Chart view in MS Project will be defined here.
| Constructor Summary | |
|---|---|
Table()
|
|
| Method Summary | |
|---|---|
void |
addColumn(Column column)
Adds a column definition to this table. |
List<Column> |
getColumns()
Retrieves the list of columns that make up this table. |
int |
getID()
This method is used to retrieve the unique table identifier. |
String |
getName()
This method is used to retrieve the table name. |
boolean |
getResourceFlag()
This method retrieves the resource flag attribute of the table. |
void |
setID(int id)
This method is used to to set the unique identifier associated with this table. |
void |
setName(String name)
This method is used to set the name associated with this table. |
void |
setResourceFlag(boolean flag)
This method sets the resource flag attribute of the table. |
String |
toString()
This method dumps the contents of this table as a String. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Table()
| Method Detail |
|---|
public int getID()
public void setID(int id)
id - unique table identifierpublic String getName()
public void setName(String name)
name - table namepublic boolean getResourceFlag()
public void setResourceFlag(boolean flag)
flag - boolean flagpublic void addColumn(Column column)
column - column definitionpublic List<Column> getColumns()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||