Previous Topic: Perform Consistency CheckNext Topic: Open the UPDATE GOLFER Action Diagram


Add the Process Logic to UPDATE GOLFER

Try performing the Process Logic Analysis for this process using the following outline. Then turn the page and compare your answers to the ones we have suggested.

What is the primary entity type that is the focus of the process UPDATE GOLFER?

____________________________________________________________________

What is the entity action to be taken on this entity type?

____________________________________________________________________

Walking the neighborhood, are there any other entity types or actions required of this process?

____________________________________________________________________

____________________________________________________________________

Sequence the actions.

____________________________________________________________________

____________________________________________________________________

Determine the selection criteria.

____________________________________________________________________

____________________________________________________________________

Now, look at our suggested answers:

  1. What is the primary entity type that is the focus of the process UPDATE GOLFER?

    GOLFER

  2. What is the entity action to be taken on this entity type?

    UPDATE

  3. Walking the neighborhood, are there any other entity types or actions required of this process?

    If we are going to update the GOLFER, the Toolset requires us to first establish currency on GOLFER. There are two ways to establish currency:

    In this case, we want to update an existing golfer, so we want to read an existing occurrence of golfer. Then, walking the neighborhood, we see that golfer has an optional relationship to SCORING RECORD. The scoring record has no bearing on this process. So there are no other actions or entity types required.

  4. Sequence the actions.

    We have identified two actions, an update, and a read. Prior to updating the golfer, we must first establish currency. Currency is established by reading the golfer. Therefore, the correct sequence is:

    a. Read the golfer

    b. Update the golfer

  5. Determine the selection criteria.

    In most cases, you will read the desired object by its identifier, or by the identifier of some related object. This usually begs the question, however, what if all we have is their name? In Design, you make provisions for looking up things by other attributes or relationships, and then once identified, you would call the update process with their unique identifier.

Now we can add the process logic to the UPDATE GOLFER process action diagram.