HOPEX Power Studio (EN) : Customizing the Metamodel : Managing the Metamodel : Metamodel Syntax in Command Files : Reversing MetaAssociation Orientation
   
Reversing MetaAssociation Orientation
MetaAssociation orientation can be reversed in a command file using the following syntax:
 
Syntax
.Update .MetaAssociationEnd <MetaClass Name> <MetaAssociationEnd Name> ._Major <Major>
Example 1
.Update .MetaAssociationEnd "Tool" "User-Application" ._Major "0"
Example 2
.Update .MetaAssociationEnd "Application" "User-Tool" ._Major "1"