Object-Oriented Analysis:  

 

We attempt to categorize what we find under the following categories:

1) External Entities

2) Things or Occurrences Remembered

3) Roles played

4) Sites

5) Organizational Units

6) Structures (logical Structures)

  The Six Categories in Detail :  

 

1) External Entities

v     We look out for people, things or devices that lie outside the scope of the software system. These external entities may produce information from the software system. The software system may also need to retain information or knowledge about the external entity. Information here includes both data and control types. Examples of external entities include nouns and noun phrases like user , homeowner , keyboards, sensors , remote database systems etc.

2) Things or Occurrences Remembered

v     We look for items of information and events that must be observed and recorded by the system. Examples of occurrences include eg peripherals interrupts/events, signals or even the registration of a vehicle.

3) Roles played

v     We consider the role or roles played by people or system being analyzed. Basically, there are three types of roles to be considered.

v     The first type constitutes those representing users of the system (e.g. clerk, receptionist who interacts with the system).

v     The second are those representing people who do not interact directly with the system but whose information is remembered by the system (e.g. employee, vehicle owners, customer etc).

v     The third role type encompasses people who interact with the system and have information retained by the system. (e.g. managers using email on a personalized management system or a lab technician maintaining an inventory system that keep records of authorized lab stuff).

v     Roles are considered outside the scope of the system if no information of the associated person needs to be recorded by the system,

v     The potential classes identified using this category are considered to lie within the broader scope of the problem domain under consideration.

4) Sites

v     We consider the location, place or environment etc. that the system being analyzed needs knowledge of. Examples will include a vehicle guidance system for an industrial robot which might need information on the physical layout of a factory floor, an electronic warfare system which need topological information of the physical environment in which it operates etc.

5) Organization Unit

v     We have to ask ourselves what department, division , organization etc. does the system need to keep information about? If the system needs to remember information about such an organizational unit and/or provide processing of it, then the organizational unit is considered as a potential class.

v     For example, if a system needs to keep track of information about a sales department (e.g. department’s name, number of stuff, inventory list, gross list, gross list, gross , operating cost etc.) and / or provide processing in the form of computation of annual tax returns, generating stock levels reports etc.

6) Structures

v      Structures help us to find potential classes. Also it help us to derive more information from the list of potential classes we have obtained earlier using the previous 5 categories. The additional information that we are talking about here will help us to identify the constituents of some classes (classes and attributes), and the location of potential groupings of subclasses into classes and super classes and so on.

 

 

  Title of Project Identified  

A parking system which has separate peak and off peak hours, During the off peak hours, the new users is allow to choose one of the available empty slots in the car park and specify the time period for which he will be parking the vehicle. The User is allowed to renew and extend the time period half an hour before the expiry of the time period. A grace period off half an hour is given to every user after which expiry will incur a penalty charge of $10 an hour. When the user has chosen a slot, the system will show the user the path to the slot location. Any user can park in the specified slot. When the car park is completely full, the user can choose to park in one of the premium slots available in the car park. There are 400 parking slots available in the 4 level car park, out of which 20 are premium slots. The rates are as follows: peak ($2 for the first hour, $1 for the next half an hour or part thereof), off-peak ($2 for the first hour, $0.50 for the next half hour or part thereof). For the premium rates, ($5 per hour or part thereof).

 

 

 

 
  Performing Grammatical Parse  

A parking system which has separate peak and off peak hours. During the off peak hours, the new users is allow to choose one of the available empty slots in the car park and specify the time period for which he will be parking the vehicle. The User is allowed to renew and extend the time period half an hour before the expiry of the time period. A grace period off half an hour is given to every user after which expiry will incur a penalty charge of $10 an hour. When the user has chosen a slot, the system will show the user the path to the slot location. Any user can park in the specified slot. When the car park is completely full, the user can choose to park in one of the premium slots available in the car park. There are 400 parking slots available in the 4 level car park, out of which 20 are premium slots. The rates are as follows: peak ($2 for the first hour, $1 for the next half an hour or part thereof), off-peak ($2 for the first hour, $0.50 for the next half hour or part thereof). For the premium rates, ($5 per hour or part thereof).

 

Drawing up of potential list from the analysis given above

Potential List

 

Parking system

things remembered or system

driver (user)

role or external entity

time period status

things remembered or system

carpark status

things remembered

carpark rates

things remembered

path to carpark slots database

things remembered

 

 

Confirmation of objects and classes

 

Parking system

confirmed (system itself)

driver (user)

confirmed (connected external entity)

time period status

confirmed (criteria 1-3 apply)

carpark status

confirmed (criteria 1-3 apply)

carpark rates

confirmed (criteria 1-3 apply)

path to carpark slots database

confirmed (criteria 1-3 apply)

 

 

  Refinement of Initial Requirements Specification  

A parking system which has separate peak and off peak hours. During the off peak hours, the driver (new users) is allow to choose one of the available slots in the car park and specify the time period for which he will be parking the vehicle using the user interface screen. The user is also allowed to renew and extend the time period using the control panel. A grace period of half and hour is given to every user after which expiry will incur a penalty charge of $10 an hour. When the user has chosen a slot, the system will show the user the path to the slot location. Any user can park in the specified slot. The car park will update the current parking status and when it completely full, the user can then choose to park in one of the premium slots available in the car park. Once the driver has reached the selected slot, the barrier sensors will open the barrier to the slot itself. There are 400 parking slots available in the 4 level car park, out of which 20 are premium slots. The car park rates are as follows: peak ($2 for the first hour, $1 for the next half an hour or part thereof), off-peak ($2 for the first hour, $0.50 for the next half-hour or part thereof). For the premium rates, ($5 per hour or part thereof).

Refined Potential list from the refined specification

Potential List

Parking system

things remembered or system

driver (user)

role or external entity

time period status

things remembered or system

user interface screen

external entity

carpark status

things remembered

carpark rates

things remembered

control panel

external entity

barrier control sensors

external entity

path to carpark slots database

things remembered

 

 

 

 

Confirmation of objects and classes

Parking system

confirmed (system itself)

driver (user)

confirmed (connected external entity)

time period status

confirmed (criteria 1-3 apply)

user interface screen

confirmed (connected external entity)

carpark status

confirmed (criteria 1-3 apply)

carpark rates

confirmed (criteria 1-3 apply)

control panel

rejected (criteria 1-2 failed)

barrier control sensors

confirmed (connected external entity)

path to carpark slots database

confirmed (criteria 1-3 apply)

 

  Sequence Diagram  

The Sequence Diagram can be obtained here.

 Collaboration Diagram 

The Collaboration Diagram can be obtained here.

1
Hosted by www.Geocities.ws

1