1. UML TASK
BY USING OMT TECHNIQUE
:THE CHOOSEN SYSTEM
ONLINE SHOPPING
:NAME
MARWA SAMIH AL-AMRI
:STUDENT MUNBER
2010902136
:INSTRUCTOR
Dr. AHMAD SE'AFAN
2. -:The Description Of The system
Users can be classified into two types based on their knowledge of the
products that suit their needs. They can be classified as users who know
about the product that would satisfy their needs and users who have to
figure out the product that would satisfy their needs. Users who know
about the product should be able to find the product easily with the
click of a button. Such users can search for the product by using the
product name as the search term. Users who have to figure out the
product that would satisfy their needs could use a search term to find a
list of products and then should be able to filter the results based on
various parameters like product type, manufacturer, price range,
platform supported etc. The users should be able to view the complete
specification of the product and various images at different Zoom
levels. The user should be able to read the customer reviews for the
product and the ratings provided. They should be able to write their
own reviews. They should be able to print out the specifications for a
product or email the product page to a friend etc. To increase the ease
of use the user should be able to add a product to the shopping cart by
dragging a product and dropping it in the shopping cart. A user should
able to edit the contents of a shopping cart. They should be able to
update the quantities of the products added to the cart and remove the
products from the cart. The user should be able to remove the product
from the shopping cart by dragging the product and dropping it outside
the cart. The application can be made interactive by pop up messages
when a product has been dropped in to the shopping cart or out of the
shopping cart. The user can be notified 4 if the cursor enters a drop
area and the object that could be dropped. Also users are impatient
.making it important to load pages soon
In the system, we can observe that the user interacts with the
application through a graphical user interface. The inputs to the system
are the Search and Filter criteria provided by the user and a new review
written by the user. Also, the output is in the form of Repeater and grid
3. views which present the users with list of Products available. The users
can view complete specification, view Images and reviews by other
.users
:The Candidate Objects
User Knowledge Needs Product Button
Product name Search term Results Parameters
Product type Manufacture Platform Price range
Product specifications Images Customer reviews
Zoom levels Ratings Product page Friend
Shopping cart Quantities Application Object
Pop up messages Cursor Drop area Object Pages
System Inputs Graphical user interface Form
. Search criteria Filter criteria Output
:Candidate Associations
.The user should be able to find the product
.The user click the button
.The user search for a product by product name
The user figure out the product that satisfy his/her needs by search
.criteria
.The user should be able to filter the results
The users should be able to view the complete specification of the
.product
4. .The user should be able to view product images at different zoom levels
The user should be able to read the customer reviews for the product
.and the ratings provided
The user should be able to write their own reviews and print the
.specifications for a product
.The user email the product page for a friend
.The user should be able to add a product to the shopping cart
.The user should able to edit the contents of a shopping cart
The user should be able to update the quantities of the products and
.remove product from the cart
.The application can be made interactive by pop up messages
.a product dropped in to the shopping cart or out of the shopping cart
.The application provide a user graphical user interface
-:Bad Objects
-:Implementation
Button Pop up messages Cursor Drop area Pages Graphical user
interface Form Inputs Outputs Search term Results Search
. criteria Filter criteria Zoom levels Product page
-: Attributes
.name Price range Quantities Parameters
-: vague Objects
5. Knowledge Needs Platform System Ratings Application
Object
-: Irrelevant Objects
Friend Customer reviews
:(Refinement Of The Objects (Good Objects
User Shopping cart Product Image Manufacture
Specification Product type
:Implicit Objects
Cart item Shop product
:Attributes And Methods Of The Good Objects
-: For User
-: Implicit attribute and methods
User name user email user credit number
Edit email() edit credit number
-: Shopping cart
-: Implicit attribute
Total cost total items
-: All of this methods mentioned as candidate associations
6. ()Add item() remove item() edit cart() update total
-: Product
-: Implicit attribute
license id
-: this attributes mentioned as candidate objects
Product id name price
-: This methods extracted form some candidate associations
()get image() get product type() get specification
-: Image
-: Implicit attribute
Image id path
-: Manufacture
-: Implicit attribute
Manufacture id name phone number website
This method arise from the nature of relationship between the objects
-: ((product and specification
()Get product
-: Specification
-: Implicit attribute
7. Brand model version feature
-: Product type
-: this attributes mentioned as candidate objects
Product type id name
-: Implicit method
()Get product
-: Cart item
-: this attributes mentioned as candidate objects
Product name product id Quantity price
-: Implicit attribute
total cost
-: implicit methods
()edit quantity() compute total
-: Shop product
-: Implicit attribute
. Number of product
-: All of this methods mentioned as candidate associations
()Search() view description
8. -: Note
Most of candidate association converted to derived association specially
.with the user class
.Some of association were deleted because it tie a bad classes
The attribute and the methods of the objects and the associations
between (after refinement it) the objects will be appear in the class
: diagram as follow
Class diagram for online shopping system