Previous Topic: Edit the Action DiagramNext Topic: Components


Add the Process Logic to CALCULATE GOLFER HANDICAP INDEX

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.

  1. What is the primary entity type that is the focus of the process CALCULATE GOLFER HANDICAP INDEX?

    ____________________________________________________________________

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

    ____________________________________________________________________

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

    ____________________________________________________________________

    ____________________________________________________________________

  4. Sequence the actions.

    ____________________________________________________________________

    ____________________________________________________________________

  5. Determine the selection criteria.

    ____________________________________________________________________

    ____________________________________________________________________

Now, look at our suggested answers:

  1. What is the primary entity type that is the focus of the process CALCULATE GOLFER HANDICAP INDEX?

    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, we first need to establish currency on the golfer by reading the golfer to be updated. Additionally, to calculate the golfer's handicap index, we need to read each of their last 20 scoring records. The actual calculation is somewhat complicated. Fortunately, we have found a component that will perform this calculation for us, but we still need to read the scoring records and pass them to the component.

  4. Sequence the actions.

    We have identified three actions: an update, a read, and a read each. Therefore, the sequence of actions is as follows:

    1. Perform the read to establish currency on the golfer
    2. Read each of the golfer's last 20 scoring records
    3. Use the component and update the golfer

    Unfortunately, action block synthesis will not help us out much with this.

  5. Determine the selection criteria.

    We will select the desired golfer based upon its identifier, and then read each of its scoring records based on their relationship to the current golfer.