Class TableModel
- java.lang.Object
-
- org.fugerit.java.core.db.metadata.ColumnContainer
-
- org.fugerit.java.core.db.metadata.TableModel
-
public class TableModel extends ColumnContainer
- Author:
- Fugerit
-
-
Constructor Summary
Constructors Constructor Description TableModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addForeignKey(ForeignKeyModel foreignKeyModel)
void
addIndex(IndexModel indexModel)
String
getCatalog()
String
getComment()
List<ForeignKeyModel>
getForeignKeyList()
Map<String,ForeignKeyModel>
getForeignKeyMap()
List<IndexModel>
getIndexList()
Map<String,IndexModel>
getIndexMap()
String
getName()
IndexModel
getPrimaryKey()
String
getSchema()
TableId
getTableId()
void
setComment(String comment)
void
setPrimaryKey(IndexModel primaryKey)
void
setTableId(TableId tableId)
String
toString()
-
Methods inherited from class org.fugerit.java.core.db.metadata.ColumnContainer
addColumn, getColumn, getColumnList, getColumnMap
-
-
-
-
Method Detail
-
addForeignKey
public void addForeignKey(ForeignKeyModel foreignKeyModel)
-
addIndex
public void addIndex(IndexModel indexModel)
-
getComment
public String getComment()
-
setComment
public void setComment(String comment)
-
getPrimaryKey
public IndexModel getPrimaryKey()
-
setPrimaryKey
public void setPrimaryKey(IndexModel primaryKey)
-
getTableId
public TableId getTableId()
-
setTableId
public void setTableId(TableId tableId)
-
getName
public String getName()
-
getCatalog
public String getCatalog()
-
getSchema
public String getSchema()
-
getIndexMap
public Map<String,IndexModel> getIndexMap()
-
getIndexList
public List<IndexModel> getIndexList()
-
getForeignKeyMap
public Map<String,ForeignKeyModel> getForeignKeyMap()
-
getForeignKeyList
public List<ForeignKeyModel> getForeignKeyList()
-
-