2.3.7. The Composition elementΒΆ

The Composition element makes the difference between a model unit and a model composite.

..A Composition element information item is only a child of a ModelComposition element.

  1. A Composition element MUST contain one or more Model element

    1. The Model element MUST have a name , an id and a filename attributes

    2. The Model element MAY have a dixplayx and a displayy attributes representing the position of the model in the space.

  2. A Composition element MUST contain one Links element

    1. The Links element MAY be empty in the case where algorithm element is specified.

    2. If not, the Links element SHOULD have one or more InputLinks, InternalLinks and OutputLinks elements.

      1. An InputLink is a link between an input of the model composite and an input of a sub-model.

      2. An OutputLink is a link between an output of the model composite and an output of a sub-model.

      3. An InternalLink is a link between an output of a sub-model and an input of a sub-model.

    3. An InputLink element MUST contain a target and a source attributes.

      1. The value of a target attribute MUST be composed of the name of a sub-model and the name of an input of this sub-model separated by dot.

      2. The value of a source attribute MUST be the name of an input of the model composite.

    4. An OutputLink element MUST also contain a target and a source attributes.

      1. The value of a source attribute MUST be composed of the name of a sub-model and the name of an output of this sub-model separated by dot.

      2. The value of a target attribute MUST be the name of an output of the model composite.

    5. An InternalLink element MUST also contain a target and a source attributes.

      1. The value of a source attribute MUST be composed of the name of a sub-model and the name of an output of this sub-model separated by dot.

      2. The value of a target attribute MUST be composed of the name of a sub-model and the name of an input of this sub-model separated by dot.