The SEDRIS Data Representation Model
APPENDIX B - Constraints
Model Reference Type Constraints

Definition

The following constraints apply.

  1. If a <Model> instance has a model_reference_type field value of SE_MODREFTYP_ROOT or SE_MODREFTYP_ROOT_AND_COMPONENT, the name field value of the <Model> instance shall be unique among the <Model> components of its <Model Library> aggregate.

  2. If a <Model> instance M has a model_reference_type field value of SE_MODREFTYP_COMPONENT, the following also apply:

    1. Any <Geometry Model Instance> instance or <Feature Model Instance> instance referencing M shall be in the scope of another <Model> instance,

    2. the dynamic_model_processing flag of M shall be SE_FALSE.

Rationale

  1. The model_reference_type of <Model> indicates whether a given instance can be instanced as a free-standing object, as a component of another <Model> instance, or both.

  2. All potentially free-standing <Model> instances within the scope of a given <Model Library> instance are required to have unique names, so that such <Model> instances can be unambiguously and easily identified.

  3. A <Model> instance that cannot be instanced as a free-standing object can only be referenced within other <Model> instances.

  4. The dynamic_model_processing flag of <Model> is used only at the "top" level of <Model> data, that is, at the level where a <Model> instance represents a free-standing object.

Example

  1. Consider a <Model Library> instance ML that contains a <Model> component with name set to "plane" and model_reference_type set to SE_MODREFTYP_ROOT. The name "plane" cannot be used for any other <Model> component of ML.

FAQs

No FAQs supplied.


Prev: Mandatory Metadata. Next: Model SRF. Up:Index.