public class TableWrapperImpl extends Object implements TableWrapper
| Constructor and Description |
|---|
TableWrapperImpl(MetaTable table,
String alias) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Table model and alias must be the same
|
String |
getAlias()
Returns a unique table name in the one SQL statement.
|
List<? extends ColumnWrapper> |
getColumns()
Get all table columns
|
MetaTable |
getModel()
Returns a meta-table model
|
int |
hashCode()
Table model and alias must be the same
|
boolean |
isView()
Is the instance a database relation model?
|
public MetaTable getModel()
TableWrappergetModel in interface TableWrapperpublic String getAlias()
TableWrappergetAlias in interface TableWrapperpublic boolean isView()
TableWrapperisView in interface TableWrapperpublic List<? extends ColumnWrapper> getColumns()
TableWrappergetColumns in interface TableWrapperpublic int hashCode()
Copyright 2013, Pavel Ponec