Chat now with support
Chat with Support

Toad Data Modeler 7.0 - User Guide

Introduction User Interface Models and Model Objects
Physical Data Model
Entity Relationship Diagram Objects Basic Database Design Advanced Database Design
Universal Data Model Logical Data Model Working with Model Objects
Features and Tools
Application Variables Export/Import DDL Script Generation Graphics Model Actions Print Create New Project Reports Reverse Engineering Scripting and Customization About Templates Tips and Tricks Toad for Oracle Integration Toad Intelligence Central (TIC) Integration Tools Version Control
Options and Configuration Databases
Amazon Redshift 1.0 IBM DB2 LUW 9.5 IBM DB2 LUW 9.7 IBM DB2 LUW 10.1 IBM DB2 LUW 10.5 IBM DB2 LUW 11.1 IBM DB2 z/OS 10 IBM DB2 z/OS 11 Greenplum 4.1 Greenplum 4.2 Ingres 9.3 Ingres 10.0 EDB Postgres Advanced Server 10 Microsoft Access 2007/2010 Microsoft Azure SQL Database V12 Microsoft SQL Server 2005 Microsoft SQL Server 2008 Microsoft SQL Server 2012 Microsoft SQL Server 2014 Microsoft SQL Server 2016 Microsoft SQL Server 2017 MySQL 5.0 MySQL 5.1 MySQL 5.5 MySQL 5.6 MySQL 5.7 MySQL 8.0 Oracle 10g Oracle 11g Release 1 Oracle 11g Release 2 Oracle 12c Release 1 Oracle 12c Release 2 Oracle 18c Specifics - Oracle 12c Release 2 PostgreSQL 9.0 PostgreSQL 9.1 PostgreSQL 9.2 PostgreSQL 9.3 PostgreSQL 9.4 PostgreSQL 9.5 PostgreSQL 10 SQLite 3.7 Sybase ASE 15.5 Sybase ASE 15.7 SAP ASE 16.0 Sybase IQ 15.2 Sybase SQL Anywhere 11 SAP SQL Anywhere 17 Teradata 13 Vertica Database 8.0
Copyright Legal Notices

Edit Classes

Double-click the class graphics on the Workspace
or
Edit the class in the Classes dialog (Model menu | Model Items | Classes | Edit).

General Tab

Description

Name

Defined object class. Its value consists of CSAOClassName + Abbreviation.

Example:

PERSequenceOR

PER = Physical Entity Relationship model

Sequence = Sequence

OR = Oracle (all Oracle databases. OR10 stands for Oracle 10g, OR9 is for Oracle 9i etc.)

Object Type

Numeric representation of object class without dependence on database system. A list of Object types is available in the TDM Reference document.

External

This checkbox has just an informative value. External class represents a class created in metamodel.

Default Name

Default name that will be assigned to the object after its creation. If you add "%d" to the default name, a numeric value will be added to the end of the default name.

Category

Category selection box. To see a list of Categories of your model, click the small button on the right.

Properties Tab

List of class properties.

Methods Tab

List of methods that belong to the class.

Inherited Properties Tab

Properties defined in predecessors.

Inherited Methods Tab

Methods defined in predecessors.

Description Tab You can enter the class description here.

Notes Tab

Write notes on this tab.

To Do Tab

You can enter To Do tasks related to the class here.

Properties

Toad Data Modeler implements the concept of metamodels. Metamodels are accessible only in Expert Mode (via Package Explorer).

Metamodel is a graphical representation of objects, classes, methods and relationships between them in a specific Package.

Using metamodels, you can create your own classes, methods and properties and define relationships between those items and items that are created in the application by default.

Important: It is recommended to only use lower and uppercase letters for naming your objects in metamodels (no numbers and special characters).

 

Example: The metamodel of Oracle package

 

Open Metamodels

  1. Open (or select Expert Mode Menu | Customization | Package Explorer).
  2. Select a package.
  3. Right-click the package and select Open Metamodel.

 

Create Properties

  1. In the Class Properties form, click the Properties tab.
  2. Click Add.
  3. Confirm Apply.
  4. Edit the new item and define properties of the new property.

Edit Properties

Double-click a property or press Edit in the Class Properties dialog | Properties tab.

 

General Tab

Description

Name

Name of property

Data Type

Property data type

Default value

Property default value

External

Only properties that are marked as External are taken to particular class. Every new property defined by users must be set as External, otherwise the property will not be accessible in the class. If you need to add a property for just an informative purpose to your metamodel, uncheck the checkbox External.

Implementation Area

Description

Get Script Method and Set Script Method

Access methods for property. Name consists of ScriptName.MethodName - without brackets.

Click the button next to the Get Script Method or Set Script Method fields to assign default values there.

Example: PERSequenceOR.GetIncrementBy

Package

Name of package where the access methods are stored

Overridable

Select to set the property as Overrideable.

Dynamic

Select to set the property as Dynamic.

Read Only

Select to set the property as Read Only.

Write Only

Select to set the property as Write Only.

Attributes Tab

On tab Attributes, you can assign attributes to properties. Every attribute may change class behaviour.

Example: You create a new property MyDescription. This property will be used for storing data entered into a new Text Field in the Entity Properties form. For this purpose, the following property attributes must be enabled: Editable and Store.

Tip: A list of attributes is accessible via Model | Attributes menu.

 
Related Documents