public class GroovyTable extends Object
Constructor and Description |
---|
GroovyTable(List<GroovyField> fields,
List<GroovyRecord> records)
To initalise the table with the fields and records.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getDisplayOnUI() |
List<GroovyField> |
getFields() |
List<GroovyRecord> |
getRecords() |
void |
setDisplayOnUI(boolean flag) |
void |
setFields(List<GroovyField> fields) |
void |
setRecords(List<GroovyRecord> records) |
public GroovyTable(List<GroovyField> fields, List<GroovyRecord> records)
fields
- as List<GroovyField> the fieldsrecords
- as List<GroovyRecord> the record of the table.GroovyField}
,
GroovyRecord}
public boolean getDisplayOnUI()
public List<GroovyField> getFields()
public List<GroovyRecord> getRecords()
public void setDisplayOnUI(boolean flag)
flag
- as boolean to set the indicator whether to display the table
on UI.public void setFields(List<GroovyField> fields)
fields
- as List<GroovyField> to setpublic void setRecords(List<GroovyRecord> records)
records
- as List<GroovyRecord> to set