Touching an Object

When you "touch" an object, ZOM performs an in-depth analysis of the object and records the resulting information in its knowledge base. Objects are "touched" using a special ZOM service, ZOMTouch. For example, the following command touches the Contracts object :

ZOMTouch Contracts

ZOMTouch determines the object's current state and discovers any dependencies between the object and the other objects it references. The source of the dependency information is Zim's standard dependency tracking database. Zim maintains dependency information for all objects and updates this information when an object is created or a program is parsed or compiled.

Once ZOMTouch has finished processing, ZOM has a complete picture of the object and any interdependencies with other objects. This in-depth information enriches ZOM's knowledge base and is the foundation for the powerful object analysis and manipulation you can perform with other ZOM services.

As you make changes to your application objects, this information is automatically updated if you use the ZOM services or use the Object Dictionary editing tools in DC. As you edit your program code, ZOM's knowledge about dependencies between the program (i.e., document) object and the objects referenced in the program becomes out-of-date. To bring ZOM's knowledge base up-to-date, "touch" the altered document objects.

Note: For more information on Zim's dependency tracking, see SET DEPENDENCY.