UML Modeling Techniques > Data modeling > Storage Mapper > Storage mapping overview (Storage Mapper) > Storage mapping overview (Storage Mapper)
Storage mapping overview (Storage Mapper)
You use the storage mapping tool to automatically populate the dictionary with tables, columns and relationships derived from the information contained in the Class Model. A table is created in the same package as its source class. Because the table name must be unique within the Package, the table name is prefixed with Rts. Using the storage mapping tool will ensure consistency between classes and tables within a model.
When you map items from a Class Model, they map onto the corresponding item in the Data Model:
Item on Class Diagram
Maps to
link class
The Storage Mapping dialog shows all the classes in the model with default configuration for mapping. When you add a class to a Class Diagram its Persistent textual property is set to FALSE by default. If you set this to TRUE, the class will appear in the Storage Mapping dialog as it requires storage. An asterisk by a class indicates that it has previously been mapped.
Before you generate the mappings you can select the classes and attributes to be included and define their properties for the storage mapping. You can then select your options for how you want prime keys to be generated.
If you subsequently make changes to your model, you can regenerate , so that your Data Model stays consistent with your Class Model.