public class DataTable
extends java.lang.Object
Constructor and Description |
---|
DataTable() |
Modifier and Type | Method and Description |
---|---|
protected void |
addLocalRow(Row aRow)
Adds a local row.
|
protected DataTableView |
createTableView()
Creates a new table view.
|
Entity |
getEntity()
Returns the entity for this table.
|
Row |
getLocalRow(java.lang.Object aPrimaryValue)
Returns a local row for a primary value.
|
java.lang.String |
getName()
Returns the table name.
|
WebSite |
getSite()
Returns the data site for this table.
|
DataTableView |
getTableView()
Returns the default view for this table.
|
DataTableView |
getTableView(java.lang.String aName)
Returns a named table view.
|
DataTableView |
getTableView(java.lang.String aName,
boolean doCreate)
Returns a named table view.
|
java.util.List<DataTableView> |
getTableViews()
Returns the known table views.
|
void |
refresh()
Clears existing objects from this table.
|
protected void |
removeLocalRow(Row aRow)
Removes a local row.
|
protected void |
setEntity(Entity anEntity)
Sets the entity.
|
protected void |
setSite(WebSite aSite)
Returns the data site for this table.
|
public WebSite getSite()
protected void setSite(WebSite aSite)
public java.lang.String getName()
public Entity getEntity()
protected void setEntity(Entity anEntity)
public DataTableView getTableView()
public java.util.List<DataTableView> getTableViews()
public DataTableView getTableView(java.lang.String aName)
public DataTableView getTableView(java.lang.String aName, boolean doCreate)
protected DataTableView createTableView()
public Row getLocalRow(java.lang.Object aPrimaryValue)
protected void addLocalRow(Row aRow)
protected void removeLocalRow(Row aRow)
public void refresh()