Advanced utility functions
Use com.nomagic.uml2.ext.jmi.helpers.ModelHelper for various advanced UML model related functions.
It provides utility methods for
Some core functions
working with element's documentation (Comments)
getting/setting Relationships client and supplier ends
working with Associations - getting member ends, changing navigability
working with multiplicity of MultiplicityElements
ownership related functions - looking for valid owners, checking ownership and etc.
Working with Value Specifications
Creating value specifications
Setting value to Value specifications
Working with Classifiers
collecting derived classifiers, checking legal inheritance
collecting inherited members
working with redefined elements
checking Classifiers compatibility
working with Operation parameters, comparing Operations signatures
Working with InstanceSpecifications
creating Slots, initializing slots values
working with Links
Use com.nomagic.uml2.ext.jmi.helpers.InformationFlowHelper for advanced Information Flows related functions
Use com.nomagic.uml2.ext.jmi.helpers.InteractionHelper for Interaction domain related advanced functions
Use com.nomagic.uml2.ext.jmi.helpers.StateMachineHelper for State Machine related advanced functions
Use com.nomagic.uml2.ext.jmi.helpers.UseCaseHelper for Use Case related advanced functions
Use com.nomagic.magicdraw.uml.ConnectorsCollector to collect connected Connector elements