public class Schema extends Object implements ModelObject
Modifier and Type | Field and Description |
---|---|
protected String |
catalog |
static String |
copyright |
protected Database |
database |
protected List<Table> |
immediateTables |
static org.slf4j.Logger |
logger |
protected String |
schemaName |
protected List<Table> |
tables |
Modifier and Type | Method and Description |
---|---|
void |
afterUnmarshal(Unmarshaller u,
Object parent) |
Column |
findColumnByQualifiedName(String qualifiedColumnName) |
Table |
findTableByQualifiedName(String qualifiedTableName) |
List<Column> |
getAllColumns() |
String |
getCatalog() |
Database |
getDatabase() |
String |
getDatabaseName() |
List<Table> |
getImmediateTables() |
String |
getQualifiedName() |
String |
getSchemaName() |
List<Table> |
getTables() |
void |
init(Model model) |
void |
link(Model model) |
void |
reset() |
void |
setCatalog(String catalog) |
void |
setDatabase(Database database) |
void |
setSchemaName(String schemaName) |
String |
toString() |
void |
visitChildren(ModelObjectVisitor visitor) |
public static final String copyright
protected Database database
protected String schemaName
protected String catalog
public static final org.slf4j.Logger logger
public Schema()
public Schema(Database database)
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 Database getDatabase()
public void setDatabase(Database database)
public String getDatabaseName()
public String getSchemaName()
public void setSchemaName(String schemaName)
public String getCatalog()
public void setCatalog(String catalog)