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 ModelObject
public void reset()
reset
in interface ModelObject
public void init(Model model)
init
in interface ModelObject
public void link(Model model)
link
in interface ModelObject
public void visitChildren(ModelObjectVisitor visitor)
visitChildren
in interface ModelObject
public String getQualifiedName()
public List<Reference> getReferences()
getReferences
in interface HasReferences
public String getName()
getName
in interface ModelSelectionProvider
public void setName(String name)
setName
in interface ModelSelectionProvider
public String getToDatabase()
getToDatabase
in interface ModelSelectionProvider
public void setToDatabase(String toDatabase)
setToDatabase
in interface ModelSelectionProvider
public String getSql()
public void setSql(String sql)
public String getHql()
public void setHql(String hql)
public Table getFromTable()
getFromTable
in interface HasReferences
public void setFromTable(Table fromTable)
setFromTable
in interface HasReferences
public Table getToTable()
getToTable
in interface HasReferences