public class TableBeanInfo
extends java.lang.Object
Constructor and Description |
---|
TableBeanInfo() |
Modifier and Type | Method and Description |
---|---|
FlatTableBean |
asFlatTableBean() |
StructureBean |
asStructureBean() |
TableModel |
asTableModel() |
java.lang.String |
getId() |
SimpleMultilingualText |
getLabel() |
TableBean<? extends TableData> |
getTableBean() |
java.lang.String[] |
getTableNames() |
boolean |
isFlat() |
boolean |
isStructure() |
boolean |
isTableModel() |
void |
setId(java.lang.String id) |
void |
setLabel(java.util.Locale locale,
java.lang.String label) |
void |
setLabel(java.lang.String label) |
void |
setTableBean(TableBean<? extends TableData> table) |
void |
setTableNames(java.lang.String[] tableNames) |
static TableBeanInfo |
wrap(TableBean<? extends TableData> tableBean,
java.lang.String[] tableNames) |
static TableBeanInfo |
wrap(TableBean<? extends TableData> tableBean,
java.lang.String id,
java.lang.String[] tableNames)
Wraps a TableBean into a TableBeanInfo
|
static TableBeanInfo |
wrap(TableModel model) |
static TableBeanInfo |
wrap(TableModel model,
java.lang.String id) |
public java.lang.String getId()
public void setId(java.lang.String id)
public SimpleMultilingualText getLabel()
public void setLabel(java.lang.String label)
public void setLabel(java.util.Locale locale, java.lang.String label)
public java.lang.String[] getTableNames()
public void setTableNames(java.lang.String[] tableNames)
public boolean isTableModel()
public boolean isStructure()
public boolean isFlat()
public FlatTableBean asFlatTableBean()
public StructureBean asStructureBean()
public TableModel asTableModel()
public static TableBeanInfo wrap(TableModel model)
public static TableBeanInfo wrap(TableModel model, java.lang.String id)
public static TableBeanInfo wrap(TableBean<? extends TableData> tableBean, java.lang.String[] tableNames)
public static TableBeanInfo wrap(TableBean<? extends TableData> tableBean, java.lang.String id, java.lang.String[] tableNames)
tableBean
- id
- tableNames
- TableBeanInfo
Copyright ? Technia AB. All Rights Reserved.