Documentation Center

Object containment rules

This topic describes rules that enforce the structure of the object hierarchy.

You create containment rules for Contenta objects to maintain a consistent hierarchical organization. Containment rules control where an object can be created. They can also be based on a DTD or schema.

For example, the configuration object is the top level container for your data. To ensure that a Document object cannot be created under (for example) a CompoundAscii or Compoundascii object, you create containment rules that guide the parent-child relationships. Therefore, you can prohibit the creation of specific objects under other objects.