A Homogeneous View of Objects

A Homogeneous View of Objects

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

A Homogeneous View of Objects

Zim applications consist of collections of objects, each of which has a specific purpose and a set of features. These objects are described in the Object Dictionary. These various types of objects are

EntitySetsMenusRelationships
WindowsRolesSets
DocumentsVariablesForms
ConstantsDisplaysDirectories

The Object Dictionary is arranged such that all objects of the same type are grouped together. This is very convenient for working with objects of the same type, but dealing with objects in general is not so easy. A simple example illustrates this point. To see the descriptions of all EntitySets with names starting with ” Inv”, enter the following command:

list all Ents where EntName like " Inv%"

To see descriptions of all objects with names starting with ” Inv”, enter the following series of steps, one for each type of object:

list all Ents where EntName like " Inv%"
list all Rels where RelName like " Inv%"
list all Roles where RoleName like " Inv%"

and so on.

ZOM, on the other hand, treats all objects the same, regardless of type, and enables you to operate on them together. This homogenous view of objects enables, for example, all objects with names starting with ” Inv” to be retrieved in a single step:

ZOMList Inv*

ZOMList, which lists information about objects, is just one of the ZOM services. As you can see from this example, treating application objects homogeneously can lead to significant time savings and very powerful operations. ZOM provides extensive capabilities for selecting and manipulating objects that operate over the entire universe of application objects.

Note: ZOM does not deal with FormField and Field objects as independent objects, but instead works with the parent objects (e.g., Forms, EntitySets, Relationship, etc.).

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

pt_BRPortuguese