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.
A
Compositionelement MUST contain one or moreModelelement
The
Modelelement MUST have aname, anidand afilenameattributesThe
Modelelement MAY have adixplayxand adisplayyattributes representing the position of the model in the space.A
Compositionelement MUST contain oneLinkselement
The
Linkselement MAY be empty in the case wherealgorithmelement is specified.If not, the
Linkselement SHOULD have one or moreInputLinks,InternalLinksandOutputLinkselements.
An InputLink is a link between an input of the model composite and an input of a sub-model.
An OutputLink is a link between an output of the model composite and an output of a sub-model.
An InternalLink is a link between an output of a sub-model and an input of a sub-model.
An
InputLinkelement MUST contain atargetand asourceattributes.
The value of a
targetattribute MUST be composed of the name of a sub-model and the name of an input of this sub-model separated by dot.The value of a
sourceattribute MUST be the name of an input of the model composite.An
OutputLinkelement MUST also contain atargetand asourceattributes.
The value of a
sourceattribute MUST be composed of the name of a sub-model and the name of an output of this sub-model separated by dot.The value of a
targetattribute MUST be the name of an output of the model composite.An
InternalLinkelement MUST also contain atargetand asourceattributes.
The value of a
sourceattribute MUST be composed of the name of a sub-model and the name of an output of this sub-model separated by dot.The value of a
targetattribute MUST be composed of the name of a sub-model and the name of an input of this sub-model separated by dot.