Part I. Getting started

Part II. UML modeling

Part III. Project glossary

Part IV. BPMN toolset

Part V. Project management

Part VI. Modeling toolset

Part VII. ArchiMate tools

Part VIII. Team collaboration

Part IX. Code engineering

Part X. Database design and engineering

Part XI. Advanced modeling toolset

Part XII. Document production

Part XIII. Business modeling

Part XIV. Business rule

Part XV. Agile development

Part XVI. Wireframe

Part XVII. Impact analysis

Part XVIII. CMMN toolset

Part XIX. SoaML modeling

Part XX. Design animation

Part XXI. IDE Integration

Part XXII. Interoperability and integration

Part XXIII. Process simulation

Part XXIV. Zachman and BMM

Part XXV. Appendix A - Application Options

Part XXVI. Appendix B - Project Options

Part XXVII. Appendix C

 

Looping (Connector)

<ForEachSimpleRelationship>

Retrieve SimpleRelationship elements from model element or connector from diagram element.

The following table lists the available attributes of <ForEachSimpleRelationship>.

Name Description/Usage Required?
modelType : string
Filter relationship by specified model element type (e.g. Generalization). Note that not all kind of relationship belongs to simple relationship. Here are the possible types of simple relationship:

Abstraction, ActivityObjectFlow, AnalysisComposition, AnalysisDiagramTransitor, AnalysisParentChild, AnalysisReference, AnalysisRelationship, AnalysisSubDiagram, AnalysisTransitor,  AnalysisUsed, AnalysisView, Anchor, ArchiMateAccess, ArchiMateAggregation, ArchiMateAssignment, ArchiMateAssociation, ArchiMateCommunicationPath, ArchiMateFlow, ArchiMateNetwork, ArchiMateProvide, ArchiMateRealization, ArchiMateRequire, ArchiMateSpecialization, ArchiMateTriggering, ArchiMateUsedBy, AssociationClass, BPAssociation, BPDataAssociation, BPMessageFlow, BPSequenceFlow, BindingDependency, BusinessRuleAssociation, Constraint, ControlFlow, ConversationLink, DBForeignKey, DFDataFlow, Dependency, Deployment, EPCControlFlow, EPCInformationFlow, EPCOrganizationUnitAssignment, ExceptionHandler, Extend, Generalization, GenericConnector, GlossaryFactTypeAssociation, Include, InteractionDiagramDurationConstraint, Link, MindConnector, MindLink, OCLine, ObjectFlow, PMProcessLink, Permission, RQRefine, RQTrace, Realization, RequirementDerive, Satisfy, Transition, Transition2, Usage, Verify
Optional
modelTypes : string
Filter relationships by modelTypes. If @modelType is defined, @modelTypes will be ignored.
Optional
direction

{all | from | to}
Filter relationship by direction.
Optional
ignoreLastSeparator : boolean = false

Ignore the break for the last element of current for-each loop.

Break can be <ParagraphBreak> or <StaticText @content= "\n" or ",">.

Optional
breakString : string Insert a string between model elements of current for-each.
Optional
Attributes of <ForEachSimpleRelationship>

<ForEachRelationshipEnd>

Retrieve the from or to end of an association.

The following table lists the available attributes of <ForEachRelationshipEnd>.

Name Description/Usage Required?
modelType : string
Filter relationship end by specific model element type. Optional
modelTypes : string
Filter relationships by modelTypes. If @modelType is defined, @modelTypes will be ignored.
Optional
endPointer

{all | from | to | both | self | other}
Filter relationship ends based on the way they are attached to the querying element. For example, if 'from' is specified, only relationships that take the querying element as the source (i.e. from end) will be chosen.
Optional
ignoreLastSeparator : boolean

Ignore the break for the last element of current for-each loop.

Optional
breakString : string Insert a string between model elements of current for-each.
Optional
Attributes of <ForEachRelationshipEnd>

Related Resources

The following resources may help you to learn more about the topic discussed in this page.

 
4. Looping (Non Connector) Table of Contents 6. Sorting in Loop

We use cookies to offer you a better experience. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.OK