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. |
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
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. |
© 2021 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy