Package de.hybris.bootstrap.ddl.model
Class YDbModel
java.lang.Object
de.hybris.bootstrap.ddl.model.YDbModel
- All Implemented Interfaces:
YDbTableProvider
Container which contains all tables in the database. "Regular" and localized tables are separated into a different
collections. All localized tables have LP suffix at the end the table name. Table column name is limited to 30
characters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomputeColumnNameForAttributeInType(YAttributeDescriptor attributeDescriptor, YComposedType enclosingType) org.apache.ddlutils.model.Databaseorg.apache.ddlutils.model.DatabasecreateDatabase(String tablePrefix) voidcreateTable(String tableName, int itemTypeCode) voidcreateTable(String tableName, int itemTypeCode, Map<String, String> customProperties) findMappedColumn(YComposedType type, YAttributeDescriptor attribute) getColumnName(YAttributeDeployment attributeDeployment) org.apache.ddlutils.platform.CreationParametersgetLocalizedTable(String tableName) getMappedTable(YComposedType yComposedType) voidremoveLocalizedTable(String tableName)
-
Constructor Details
-
YDbModel
-
-
Method Details
-
createDatabase
public org.apache.ddlutils.model.Database createDatabase() -
createDatabase
-
getCreationParameters
public org.apache.ddlutils.platform.CreationParameters getCreationParameters() -
getMappedTable
-
findMappedColumn
-
getTable
-
getLocalizedTable
-
removeLocalizedTable
-
createTable
-
createTable
-
getLocalizedTables
-
getTables
- Specified by:
getTablesin interfaceYDbTableProvider
-
getColumnName
-
computeColumnNameForAttributeInType
public String computeColumnNameForAttributeInType(YAttributeDescriptor attributeDescriptor, YComposedType enclosingType)
-