AnsweredAssumed Answered

Parametrized Behavior on Associations

Question asked by ramprasad on Jul 24, 2017

I am looking for the following functionality:

Let us say two types participate in a relationship. Let us assume that the types can be versioned. There are circumstances where when the source is versioned, one would not want to carry forward the association to the new version. Similarly there are certain circumstances where when the target is revised the association propagation needs to be controlled. Are there any tags available currently to control the behavior? I am looking for something like this:

<associations>
      <association name="org:childOrganization">
            <source>
                  <mandatory>false</mandatory>
                  <many>true</many>

                  <on-version-propagate>true</on-version-propagate>

                  <copy-on-clone>true</copy-on-clone>
            </source>
            <target>
                  <mandatory>false</mandatory>
                  <many>true</many>

                  <on-version-propagate>true</on-version-propagate>

                  <copy-on-clone>true</copy-on-clone>
            </target>
      </association>
</associations>

 

I strongly feel that such features should be paratermized as above instead of handling it as code on a case by case basis.

Outcomes