Class PersistenceTableModel
java.lang.Object
org.eclipse.dirigible.database.persistence.model.PersistenceTableModel
public class PersistenceTableModel extends Object
The Persistence Table Model transport object.
-
Constructor Summary
Constructors Constructor Description PersistenceTableModel()PersistenceTableModel(String tableName, List<PersistenceTableColumnModel> columns, List<PersistenceTableRelationModel> relations) -
Method Summary
Modifier and Type Method Description booleanequals(Object o)StringgetClassName()Gets the class name.List<PersistenceTableColumnModel>getColumns()Gets the columns.List<PersistenceTableRelationModel>getRelations()gets the relations.StringgetSchemaName()Gets the schema name.StringgetTableName()Gets the table name.StringgetTableType()inthashCode()voidsetClassName(String className)Sets the class name.voidsetColumns(List<PersistenceTableColumnModel> columns)Sets the columns.voidsetRelations(List<PersistenceTableRelationModel> relations)Sets the relations.voidsetSchemaName(String schemaName)Sets the schema name.voidsetTableName(String tableName)Sets the table name.voidsetTableType(String tableType)
-
Constructor Details
-
PersistenceTableModel
public PersistenceTableModel(String tableName, List<PersistenceTableColumnModel> columns, List<PersistenceTableRelationModel> relations) -
PersistenceTableModel
public PersistenceTableModel()
-
-
Method Details
-
getTableType
-
setTableType
-
getClassName
Gets the class name.- Returns:
- the class name
-
setClassName
Sets the class name.- Parameters:
className- the new class name
-
getTableName
Gets the table name.- Returns:
- the table name
-
setTableName
Sets the table name.- Parameters:
tableName- the new table name
-
getSchemaName
Gets the schema name.- Returns:
- the schema name
-
setSchemaName
Sets the schema name.- Parameters:
schemaName- the new schema name
-
getColumns
Gets the columns.- Returns:
- the columns
-
setColumns
Sets the columns.- Parameters:
columns- the new columns
-
getRelations
gets the relations.the new columns
-
setRelations
Sets the relations.- Parameters:
relations- the new columns
-
equals
-
hashCode
public int hashCode()
-