org.qi4j.library.rest.common.table
Interface Table

All Superinterfaces:
Composite, ValueComposite
All Known Implementing Classes:
Table.Mixin

@Mixins(value=Table.Mixin.class)
public interface Table
extends ValueComposite

A table of rows. RowValue needs to be subtyped in order to add columns.


Nested Class Summary
static class Table.Mixin
           
 
Field Summary
static java.lang.String BOOLEAN
           
static java.lang.String DATE
           
static java.lang.String DATETIME
           
static java.lang.String NUMBER
           
static java.lang.String STRING
           
static java.lang.String TIME_OF_DAY
           
 
Method Summary
 Cell cell(Row row, java.lang.String name)
           
 Property<java.util.List<Column>> cols()
           
 Property<java.util.List<Row>> rows()
           
 

Field Detail

STRING

static final java.lang.String STRING
See Also:
Constant Field Values

NUMBER

static final java.lang.String NUMBER
See Also:
Constant Field Values

BOOLEAN

static final java.lang.String BOOLEAN
See Also:
Constant Field Values

DATE

static final java.lang.String DATE
See Also:
Constant Field Values

DATETIME

static final java.lang.String DATETIME
See Also:
Constant Field Values

TIME_OF_DAY

static final java.lang.String TIME_OF_DAY
See Also:
Constant Field Values
Method Detail

cols

@UseDefaults
Property<java.util.List<Column>> cols()

rows

@UseDefaults
Property<java.util.List<Row>> rows()

cell

Cell cell(Row row,
          java.lang.String name)