Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

help understanding netbeans tutorial, please  RSS feed

Bret Waldow
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Netbeans provides this tutorial for using their UML capabilities:

I don't understand this part:
# On the Message to Self element, click the lower message arrow.
The properties for the message appear in the Properties window.
# In the Properties window, in the Name field, type validateCashOnHandOperation and press Enter.
# Right-click the upper message arrow on the Message to Self element and select Operations from the pop-up menu. The following figure indicates where to position the cursor. Note the double bar just above the top arrow.

screen capture showing Message to Self cursor positioning
# Choose Operations > Add Operation from the pop-up menu.
A one-line editor opens and displays the following information:

visibility returnType name(parameter) {properties...}

# Define your operations to be as follows

public boolean getIsOperating()

I understand a message as being a method that gets called. What is "validateCashOnHandOperation" in this context? It doesn't show on the diagram, it's not the name of the method that's called?

You would help my understanding greatly by answering this for me.

Thanks in advance,
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!