public class Database extends Object implements ModelObject
Modifier and Type | Field and Description |
---|---|
protected ConnectionProvider |
connectionProvider |
static String |
copyright |
protected String |
databaseName |
protected String |
falseString |
static org.slf4j.Logger |
logger |
protected List<Schema> |
schemas |
protected String |
trueString |
Constructor and Description |
---|
Database() |
Modifier and Type | Method and Description |
---|---|
void |
afterUnmarshal(Unmarshaller u,
Object parent) |
List<Column> |
getAllColumns() |
List<ForeignKey> |
getAllForeignKeys() |
List<Table> |
getAllTables() |
ConnectionProvider |
getConnectionProvider() |
String |
getDatabaseName() |
String |
getFalseString() |
String |
getQualifiedName() |
List<Schema> |
getSchemas() |
String |
getTrueString() |
void |
init(Model model) |
void |
link(Model model) |
void |
reset() |
void |
setConnectionProvider(ConnectionProvider connectionProvider) |
void |
setDatabaseName(String databaseName) |
void |
setFalseString(String falseString) |
void |
setTrueString(String trueString) |
String |
toString() |
void |
visitChildren(ModelObjectVisitor visitor) |
public static final String copyright
protected String databaseName
protected String trueString
protected String falseString
protected ConnectionProvider connectionProvider
public static final org.slf4j.Logger logger
public void afterUnmarshal(Unmarshaller u, Object parent)
afterUnmarshal
in interface ModelObject
public String getQualifiedName()
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 getDatabaseName()
public void setDatabaseName(String databaseName)
public List<ForeignKey> getAllForeignKeys()
public String getTrueString()
public void setTrueString(String trueString)
public String getFalseString()
public void setFalseString(String falseString)
public ConnectionProvider getConnectionProvider()
public void setConnectionProvider(ConnectionProvider connectionProvider)