It's not a secret anymore!
The moose likes OO, Patterns, UML and Refactoring and the fly likes help understanding netbeans tutorial, please Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "help understanding netbeans tutorial, please" Watch "help understanding netbeans tutorial, please" New topic

help understanding netbeans tutorial, please

Bret Waldow
Ranch Hand

Joined: Aug 04, 2000
Posts: 59
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,
I agree. Here's the link:
subject: help understanding netbeans tutorial, please
It's not a secret anymore!