Element Usage Validation Rule

UML related questions and discussions

Moderator: Moderators

Element Usage Validation Rule

Postby antonio.neves.6@gmail.com » Tue Jan 30, 2018 5:50 am


Is there any way to create a validation rule to determine if an element is not being used in the model?

Thanks in advance,
Forum Newbie
Forum Newbie
Posts: 5
Posts Rating:2
Joined: Tue Feb 28, 2017 9:19 am

Re: Element Usage Validation Rule

Postby rimvydas.vaidelis » Wed Jan 31, 2018 12:16 am

UML model elements have bidirectional references. You can use reflective model access and inspect all cross references
in order to check whether an element is used or not.
Customer Support
Customer Support
Posts: 259
Posts Rating:14
Joined: Fri May 28, 2010 4:45 am

Return to Software Modeling (UML)

Who is online

Users browsing this forum: No registered users and 0 guests