public class DatabaseSelectionProvider extends Object implements ModelSelectionProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
copyright |
protected Table |
fromTable |
protected String |
hql |
static org.slf4j.Logger |
logger |
protected String |
name |
protected List<Reference> |
references |
protected String |
sql |
protected String |
toDatabase |
| Constructor and Description |
|---|
DatabaseSelectionProvider() |
DatabaseSelectionProvider(Table fromTable) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(Unmarshaller u,
Object parent) |
Table |
getFromTable() |
String |
getHql() |
String |
getName() |
String |
getQualifiedName() |
List<Reference> |
getReferences() |
String |
getSql() |
String |
getToDatabase() |
Table |
getToTable() |
void |
init(Model model) |
void |
link(Model model) |
void |
reset() |
void |
setFromTable(Table fromTable) |
void |
setHql(String hql) |
void |
setName(String name) |
void |
setSql(String sql) |
void |
setToDatabase(String toDatabase) |
void |
visitChildren(ModelObjectVisitor visitor) |
public static final String copyright
protected String name
protected String toDatabase
protected String sql
protected String hql
protected Table fromTable
public static final org.slf4j.Logger logger
public DatabaseSelectionProvider()
public DatabaseSelectionProvider(Table fromTable)
public void afterUnmarshal(Unmarshaller u, Object parent)
afterUnmarshal in interface ModelObjectpublic void reset()
reset in interface ModelObjectpublic void init(Model model)
init in interface ModelObjectpublic void link(Model model)
link in interface ModelObjectpublic void visitChildren(ModelObjectVisitor visitor)
visitChildren in interface ModelObjectpublic String getQualifiedName()
public List<Reference> getReferences()
getReferences in interface HasReferencespublic String getName()
getName in interface ModelSelectionProviderpublic void setName(String name)
setName in interface ModelSelectionProviderpublic String getToDatabase()
getToDatabase in interface ModelSelectionProviderpublic void setToDatabase(String toDatabase)
setToDatabase in interface ModelSelectionProviderpublic String getSql()
public void setSql(String sql)
public String getHql()
public void setHql(String hql)
public Table getFromTable()
getFromTable in interface HasReferencespublic void setFromTable(Table fromTable)
setFromTable in interface HasReferencespublic Table getToTable()
getToTable in interface HasReferences