Book a Demo

Author Topic: Method and Operation in EA  (Read 4149 times)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Method and Operation in EA
« on: December 01, 2015, 12:44:35 am »
I'm not expecting a fix but rather a confirmation:

[highlight]Help:[/highlight]
Quote
Method class: A method represents a UML operation.

Quote
Behavior: Some further explanatory behavior notes (for example, pseudocode).

[highlight]Superstructures:[/highlight]
Quote
...an operation owned by a class may have a related method that defines its detailed behavior...

So in EA an UML operation is called method and a UML method is called behavior (as attribute of an EA method). Correct?

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Method and Operation in EA
« Reply #1 on: December 01, 2015, 06:10:57 am »
More or less, it depends where you look.

If you look int he GUI then you see the term Operation(s) alongside Attributes (as it should).
In the database it is also called operation (t_operation)

But in the API it is called Method... too bad, we almost got a consistent set of names.

Geert

PS. I wonder wat Paolo has to say about something that is almost consistent  ;D

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Method and Operation in EA
« Reply #2 on: December 01, 2015, 08:48:08 am »
He'll most likely chip in  ;)

I tried to get a consistent wording in my books (since I got messed up while using the EA wording and then got to re-think about it after the recent (LinkIn, SO?) discussion; you remember?). I probably have to add a few words in the preface.

q.

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Method and Operation in EA
« Reply #3 on: December 01, 2015, 08:07:43 pm »
If some of you remember UML was a combination of Rumbaugh, Booch and Jacobson approaches which had their own terminology. Just dusted off the book from Rumbaugh which defines a method as the implementation of a operation. I understand UML carried on with that definition. Thus you can have a multiple methods that implement an operation in a class hierarchy and hence end up with polymorphism.
Got to say I tried looking up method definition in the UML standard 2.5 - interesting how they've made it almost incomprehensible without any clear definition. No wonder folk get confused. Just saying there is a case for plain English.
Happy to help
:)