Table 6.162 — DRM_Model_Instance_Template_Index

Property

Description

Class

  • <DRM Model Instance Template Index>

Superclass

Subclass

  • None.

Definition

An instance of this DRM class is used by a <DRM Feature Model Instance> instance (FMI) or <DRM Geometry Model Instance> instance (GMI) to specify, for a given <DRM Expression> component of the FMI / GMI, which <DRM Variable> instance within <DRM Interface Template> component of the instantiated <DRM Model> instance is receiving that <DRM Expression> instance as its value for that FMI / GMI.

The mechanism works as follows.

Consider a <DRM Model> instance M that contains <DRM Variable> instances. In order to be semantically valid, M shall have a <DRM Interface Template> component I that, by definition, has an ordered set of association relationships to each <DRM Variable> instance within M.

The <DRM Interface Template> instance I exists to provide access to all <DRM Variable> instances within M, so that all FMI and GMI instances referring to M have a means of specifying values to be plugged into those <DRM Variable> instances for a particular FMI or GMI instance referring to M.

Specifically, a model instance object referring to M (whether a <DRM Feature Model Instance> instance or a <DRM Geometry Model Instance> instance) provides a set of <DRM Expression> instances to be plugged into the <DRM Variable> instances of M. For a <DRM Model> instance M with N <DRM Variable> instances, the <DRM Interface Template> component of M has 1..N ordered associations, one to each <DRM Variable> instance within M. Each model instance of M supplies N <DRM Expression> components, together with a <DRM Model Instance Template Index> link object for each <DRM Expression> component. The index field value within the <DRM Model Instance Template Index> link object for a given <DRM Expression> component specifies which of the N <DRM Variable> instances of M is to be supplied with that <DRM Expression> component as its value.

Given the <DRM Model> instance M that is being instantiated, the index field specifies an index into the ordered <DRM Variable> instances associated with the <DRM Interface Template> component of M.

Class diagram

Figure 6.193 — DRM_Model_Instance_Template_Index

Inherited field elements

Field name

Range

Field data type

None

   

Field elements

Field name

Range

Field data type

index

 

Integer_Positive

Default field values

Default field values for DRM_Model_Instance_Template_Index

Associated to (one-way) (inherited)

  • None.

Associated to (one-way)

  • None.

Associated by (one-way) (inherited)

  • None.

Associated by (one-way)

  • None.

Associated with (two-way) (inherited)

  • None.

Associated with (two-way)

  • None.

Composed of (two-way) (inherited)

  • None.

Composed of (two-way)

  • None.

Composed of (two-way metadata) (inherited)

  • None.

Composed of (two-way metadata)

  • None.

Component of (two-way) (inherited)

  • None.

Component of (two-way)

  • None.

Constraints

Clarifications

1A given model instance is not permitted to supply conflicting <DRM Expression> components for a given <DRM Variable> instance. Therefore, for any model instance instance, all its <DRM Model Instance Template Index> link objects shall be unique.

Example(s)