public class TableReport extends Object implements IPresentation
| Modifier and Type | Field and Description |
|---|---|
static String |
DATE
String flag for dates.
|
static String |
ENUM
String flag for enumerations.
|
static String |
KEY
String flag for keys.
|
static String |
REF
String flag for reference.
|
static String |
SEQ
String flag for sequence.
|
static String |
VIR
String flag for virtual.
|
| Constructor and Description |
|---|
TableReport(Table table)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Column column,
Integer size)
Add a column to report.
|
void |
add(LineReport lr)
Add a line report to the table report.
|
nu.xom.Node |
asNode() |
String |
asString() |
List<Column> |
getColumns()
Get table columns.
|
List<LineReport> |
getLines()
Get line reports.
|
Integer |
getSize(Column column)
Column size.
|
Table |
getTable()
Get the report table.
|
boolean |
isEmpty()
Check if there are line reports.
|
void |
setColumns(List<Column> columns)
Set columns list.
|
void |
setLines(List<LineReport> lines)
Set the line reports.
|
void |
setSize(Column column,
Integer size)
Set column size.
|
void |
setTable(Table table)
Set the report table.
|
public static final String KEY
public static final String REF
public static final String VIR
public static final String SEQ
public static final String ENUM
public static final String DATE
public TableReport(Table table)
table - Table under analysis.public Table getTable()
public void setTable(Table table)
table - The table under analysis.public List<LineReport> getLines()
public void setLines(List<LineReport> lines)
lines - The reports.public void setColumns(List<Column> columns)
columns - A list.public void add(Column column, Integer size)
column - A column.size - Suggested size.public Integer getSize(Column column)
column - Column definition.public void setSize(Column column, Integer size)
column - Column definition.size - New size.public boolean isEmpty()
public void add(LineReport lr)
lr - A line report.public String asString()
asString in interface IPresentationpublic nu.xom.Node asNode()
asNode in interface IPresentationCopyright © 2017. All rights reserved.