Skip to main content



      Home
Home » Modeling » UML2 » Business Key
Business Key [message #1816281] Fri, 25 October 2019 06:42 Go to next message
Eclipse UserFriend
Hi

In the context of UML2, what is the most appropriate way to set certain properties within a class (possibly in other related classes) as business keys for a class?

kind regards,
Re: Business Key [message #1816290 is a reply to message #1816281] Fri, 25 October 2019 08:57 Go to previous messageGo to next message
Eclipse UserFriend
Hi

It depends what you want to achieve.

If it's documentation use a Comment.

You need might fall within the capabilities of isId, else nested properties.

If you want sophisticated code generation you might want to use Stereotypes to identify your distinguished behaviours.

Regards

Ed Willink
Re: Business Key [message #1816301 is a reply to message #1816290] Fri, 25 October 2019 12:30 Go to previous messageGo to next message
Eclipse UserFriend
thank you.
Is it also an appropriate option to use constraint defined in ocl?
Re: Business Key [message #1816303 is a reply to message #1816301] Fri, 25 October 2019 16:46 Go to previous message
Eclipse UserFriend
Hi

You've given no clue as to what you mean by a business key, so all my replies are guesses.

OCL can be used for a variety of things, so you might use OCL to define your business logic, but I would have thought that using OCL to declare a business key would be a bit perverse.

Regards

Ed Willink
Previous Topic:Difference uml2 vs emf
Next Topic:Forum on Privacy and Data Protection Challenges in System Development
Goto Forum:
  


Current Time: Wed Jul 30 15:02:46 EDT 2025

Powered by FUDForum. Page generated in 0.03459 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top