Download ModelRight - PDF user manual for offline reading

Transcript
Concepts
75
Model.
Files
In ModelRight, a file contains one and only one Model. When you save a file, the Model is
saved in a file with a .WER extension. The "workspace" is saved in a file with the same
name, but with a ".WWS" extension. The workspace contains information about what
Diagrams are open and other user interface information.
4.2
Templates
A Template (formerly called Domain) is simply an object that can be reused to define other
objects. It defines the properties and objects that other objects can "inherit" - in effect
allowing you to organize any type of object into classes with share properties. If an object
doesn't have value for a property, ModelRight will look to see if the it's Template has a value
for the property. You can think of Templates as a way to classify your objects based on the
properties they have in common and then define those properties in one place - the Template.
For example, you might have lots of Columns in your Model that are some type of ID
(Customer ID, Employee ID, etc...). Instead of having to assign common properties to them
individually (a datatype of INTEGER, NOT NULL, etc..), you could create a Template named
ID, assign to it the common properties and then assign it to all of your ID Columns. That way
you are assured consistency of those properties across all of your ID Columns and you can
easily change their properties simply by changing the ID Template. So Templates effectively
provide a way to classify your objects, organize their properties, enforce consistency of
property values, and easily make changes across the class of objects. Of couse, you can
add arbitrary level of Templates to suit your desired meta-data organization.e
ModelRight always provides a "default" Template for any object that uses Templates. Thus
give you a way to set Model-wide defaults for any property - JUST by setting it on the default
Template.
To see all the different types of Templates that ModelRight supports, click the
tab at the bottom of the Model Explorer. A red exclamation point is used
throughout ModelRight 4.0 as a symbol for a Template. We provided a Template for any type
of object for which we thought it would be helpful ( Table Templates for Tables, Column
Templates for Columns, etc...), but let us know if we you would like any others!
ModelRight, Inc © 2006 - 2014, all rights reserved