As described in the previous section, there are many types of objects in WhereScape RED.
The objects in the metadata repository are displayed in the left pane of the Builder window. They are displayed in a tree structure which can be expanded and closed as required.
The tree can be refreshed by using F5 or the Ctrl+R key.

Object Groups

The objects created in WhereScape RED are grouped together into object groups based on object type.

For example, we store all the dimension objects in the Dimension object group. Optionally, we can choose to display dimension tables as the Dimension object group and dimension views as the Dimension View object group.

Projects

These object groups are in turn stored within Projects. When WhereScape RED is first started, the special project called All Objects is the only project. This project will always contain all the objects that exist in the metadata repository.

Additional projects can be created if required. These additional projects can hold some or all of the objects, as seen in All Objects. An object as such, only exists once in the metadata. Therefore, if we have a Dimension object called dim_product, there is and can only be one copy of the object dim_product within the metadata.

Projects are used to hold a group of objects that relate back to a similar module or analysis area of the data warehouse.

In the example below, we have additional projects called Budgets, Promotions, Sales Detail, Demand Planning and Inventory. In this way, projects enable us to restrict the amount of information (objects) we need to deal with to just those relevant to the area being worked on.

Projects can also be used to group objects for an upcoming code promote.

The example below shows a metadata repository using two project groups (Sales and Stock Control), and five additional projects (Budgets, Promotions, Sales Detail, Demand Planning and Inventory).

Note

If you delete an object using the right-click context menu, the object is deleted from the metadata and removed from all Projects. You can remove the object from the project instead of deleting it. Use the object's right-click context menu to see the Projects to which the object is currently included. Refer to List Project Memberships for Objects for details.

It is important to understand that these projects are only a means of visualizing the objects. Even though an object may appear in many projects, it only exists once in the metadata.

To create a project, right-click a Project or Group listed in the left pane and select New Project from the context menu.

The File > New Project menu option can also be used. Projects can be renamed, removed from the project Group or deleted, using the right-click context menu of a selected project.

Tip

You can automatically create a Project from a Diagram generated from RED—refer to Creating a Project from a Diagram for details.

Deleting a Project does not delete the objects associated with it from the metadata; it simply removes their reference in the Project being deleted.

To view or make changes to the project's Properties, right-click the Project name from the left pane and then select Project Properties.

The Project Properties window is displayed:

OptionDescription
Include in User DocumentationSelect to include the project in the User Documentation. This is selected by default.
Include in Tech DocumentationSelect to include in the Technical Documentation. This is selected by default.
Local ProjectSelect to exclude the local project in the Application files.
Show Unused Object Types in Object BrowserSelect to display all object types in the Object Browser Pane. If not selected, only object types currently in use are displayed. Refreshing the Object Browser Pane is required after changing this setting.

Project Groups

Projects can in turn be organized into Groups.

To create a Group, right-click a Project or Group listed in the left pane and select New Group from the context menu.

The File > New Group menu option can also be used. A project Group can be deleted using the right-click context menu of a selected group.

Deleting a Group does not delete its associated projects or objects from the metadata; it simply removes their reference in the Group being deleted. The projects of a deleted Group remain in the left pane.

To view or make changes to the group's Properties, right-click the Group name from the left pane and select Group Properties.

The Group Properties window is displayed:

  • No labels