UML Validation

General discussions about MagicDraw

Moderator: Moderators

UML Validation

Postby gobumanikandan@gmail.com » Fri Jul 25, 2014 1:00 am

Hi Friends,

I am trying to add validation to UML diagrams in MagicDraw Tool. My problem is while adding my own constraints to an element am not able to give the constraint element as general. For example i am adding a constraint to check Class name should start with an capital letter im not to able to give constraint element as Class to check the same constraint for all the classes
gobumanikandan@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 20
Posts Rating:2
Joined: Fri Jul 25, 2014 12:56 am

Re: UML Validation

Postby rimvydas.vaidelis » Fri Jul 25, 2014 2:40 am

Hello,

I am not sure that I correctly understand you. Can you send me a sample project that shows your problem ?

If you want to validate all classes just specify UML Standard Profile::UML2 Metamodel::Class as Constrained Element
property value of your validation rule.

Best regards,
Rimvydas Vaidelis
rimvydas.vaidelis
Customer Support
Customer Support
 
Posts: 264
Posts Rating:14
Joined: Fri May 28, 2010 4:45 am

Re: UML Validation

Postby gobumanikandan@gmail.com » Fri Jul 25, 2014 6:50 am

Hi Rimvydas,

Thank you so much for your reply.

Yes, you are correct but the problem is when I browse for Constraint element UML Standard Profile::UML2 Metamodel::Class is not there in the Tree or List in browse tab.
How could I specify UML Standard Profile::UML2 Metamodel::Class is there I need to change any profile settings to see the Class element in the List


Regards,
Gobu
gobumanikandan@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 20
Posts Rating:2
Joined: Fri Jul 25, 2014 12:56 am

Re: UML Validation

Postby rimvydas.vaidelis » Fri Jul 25, 2014 6:52 am

Which MD version you are using?
rimvydas.vaidelis
Customer Support
Customer Support
 
Posts: 264
Posts Rating:14
Joined: Fri May 28, 2010 4:45 am

Re: UML Validation

Postby gobumanikandan@gmail.com » Fri Jul 25, 2014 6:55 am

MagicDraw Version 18
gobumanikandan@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 20
Posts Rating:2
Joined: Fri Jul 25, 2014 12:56 am

Re: UML Validation

Postby rimvydas.vaidelis » Fri Jul 25, 2014 7:15 am

Select Constrained Element property
Click the ... button (top right corner of the selected property). Select Elements dialog will be opened.
Enter Class in the Search By Name field.
Select Data > UML Standard Profile > UML2 Metamodel > Class and click OK button.
rimvydas.vaidelis
Customer Support
Customer Support
 
Posts: 264
Posts Rating:14
Joined: Fri May 28, 2010 4:45 am

Re: UML Validation

Postby gobumanikandan@gmail.com » Fri Jul 25, 2014 7:41 am

Yes I went there to that dialog Box but Data > UML Standard Profile > UML2 Metamodel > Class is not there.
I can see only UML Standard Profile > UML2 Metamodel > PrimitiveTypes these things are inside a UML_Standard_Profile.mdzip and it is in light color like it is disable. Do I need to import or add that UML_Standard_Profile.mdzip file.

Regards
Gobu
gobumanikandan@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 20
Posts Rating:2
Joined: Fri Jul 25, 2014 12:56 am

Re: UML Validation

Postby rimvydas.vaidelis » Fri Jul 25, 2014 7:52 am

I think that Include elements from modules into search result button is unpressed in your case. Please
click the button and you will be able to select the Class. See attached image.
SelectElementDialog.png
You do not have the required permissions to view the files attached to this post.
rimvydas.vaidelis
Customer Support
Customer Support
 
Posts: 264
Posts Rating:14
Joined: Fri May 28, 2010 4:45 am

Re: UML Validation

Postby gobumanikandan@gmail.com » Fri Jul 25, 2014 8:08 am

Hi Rimvydas,

You are correct, Thank you so much for your help in a small time. Could you please share your contact number so that i can contact you in case of doubt because I am very new to this tool. It will be very helpful for me to understand this tool. I assure that I will not make you feel me as disturbance.

Regards,
Gobu
gobumanikandan@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 20
Posts Rating:2
Joined: Fri Jul 25, 2014 12:56 am

Re: UML Validation

Postby saulius_p » Mon Jul 28, 2014 12:30 am

Hello Gobu,

We are glad to hear that were able to help you. Please note that customer support is provided using official channels which are listed at http://www.nomagic.com/support/general-support.html according to customer support level you or your organization has http://www.nomagic.com/support/general- ... tml#levels. For training, consultancy, dedicated support availability please contact your account executive Saulius Zukauskas (saulius.zukauskas@nomagic.com). He will share the options which are available for your company. I'm sure you will find and agree for the best for you.
Best regards,
Saulius Pavalkis
User avatar
saulius_p
No Magic
No Magic
 
Posts: 335
Posts Rating:13
Joined: Fri Dec 04, 2009 5:37 am
Full name: Saulius Pavalkis

Next

Return to MagicDraw

Who is online

Users browsing this forum: No registered users and 1 guest