Geography (component)

From UG

(Difference between revisions)
Jump to: navigation, search
m (Relationships between Country and Region)
m (Relationships between Country and Region)
Line 48: Line 48:
<!-- * '' If any exist'' -->
<!-- * '' If any exist'' -->
==== Relationships between Country and Region ====
==== Relationships between Country and Region ====
-
* In the CT2 uses the following rules of relations between Country and Region:
+
* In the CT2 is used the following rules of relations between Countries and Regions:
: 1) One Region can to include many Countries ''(rule 1: one region -> many countries)''.
: 1) One Region can to include many Countries ''(rule 1: one region -> many countries)''.
: 2) One Country can only belong to '''one''' Region ''(rule 2: one country -> one region)''.
: 2) One Country can only belong to '''one''' Region ''(rule 2: one country -> one region)''.

Revision as of 12:03, 10 July 2010


Contents

General Info and Scope

  • Classified As: component
  • Parent Mantis: 605
  • Prerequisites: any articles that must be read before to understand this?

Scope

  • List what it covers and what it does not

Business Requirements

  • This section is defined by Business Analyst
  • In this section this component/feature is defined from the business standpoint. All important points are listed. It could include some design details if business insists on specific design.

Notes from Systems Architect

  • This section is defined by Systems Architect. It is written after #Business Requirements are defined.
  • The purpose of this section is to give direction to System Analysts who will write detailed specification.

Rapid Design

  • In some cases (component is non standard) we need to do preliminary not so detailed design before detailed final. And maybe even code it to create Prototype
  • This section does not have to be too detailed or too formalized. We shall not spend too much time on Prototypes - they can change many times.

Detailed Design

Summary

Geography component is a part of Admin component of CT2. In the Internal application Geography component presents as the Geography section.

The Geography section stores information what divided to five groups:

  • Regions
  • Countries
  • Airports
  • Ports/Terminals
  • Busiest Ports/Terminals.

User Interface

Info of each group located in the separate tab of Geography section. The tab names are the same as the group names.

Functionality / Use Cases

  • This section you could spit into two. But often it is hard to do since often most of functionality is UI related

Special Cases and Misc

Relationships between Country and Region

  • In the CT2 is used the following rules of relations between Countries and Regions:
1) One Region can to include many Countries (rule 1: one region -> many countries).
2) One Country can only belong to one Region (rule 2: one country -> one region).
  • As confirmed in mantis #0002040, CT2 functionality must to provide a validation of the relationship for each pair Country-Region and prevent the belonging of one Country to many Regions:
1) validation executes on the Countries Tab upon saving data in "Add/Edit Country" window.
2) when Country with entered name already exists in DB and appropriate Region value is not filled, system shows warning message 1 and offers to save data as changes of already existing record.
message 1 - "Country already exists in DB and doesn't belong to any Region! Use entered Region value?"
warning message window has two buttons - "OK" and "Cancel". After clicking "OK" system saves current Country-Region pair, closes all modal windows and updates table of Countries. After clicking "Cancel" user returns to "Add/Edit Country" window for editing of data or closing the window.
3) when Country with entered name already exists in DB and appropriate Region value is filled, system shows error message 2 and doesn't save any data.
message 2 - "Country already exists in DB and belong to other Region! Saving is impossible!"
error message window has only one button - "OK". After clicking it user returns to "Add/Edit Country" window for editing of data or closing the window.

QA

This section is to be written by QA Engineer or QA Manager or Systems Analyst.

Test Cases

  • List unusual scenarios - things that user most of the time would not do but system must handle well
  • Do not list Common Test Cases - link to them

Look and Feel

Figures

Figure 1:

Misc

Link to User Guide

Questions

Request For Comments (Suggestions and Ideas)

Known Non Critical Bugs

  • Critical bugs must be posted into Mantis

Implementation: Link To DB

Implementation: Link To Front End Code

Implementation: Link To Back End Code

History of Updates

Links to Archived / Old specs

<Update type>:<Update Summary>

Update General Info

  • mantis: <link> if applicable
  • Update types: Re-design / Tweak / Etc
  • Ideally update all sections of spec (see above) right away. If you have no time to update spec now or multiple people have to be involved then define task here and come back to update later. In this case add links from here to "TBU wiki tag articles" - see above.

Update Description

  • Briefly explain what was done and list links to updated sections.
Personal tools