Google Search

Wednesday, April 6, 2011

CS2357 OOAD LAB Object oriented and analysis and design ONLINE PURCHASE SYSTEM


ONLINE PURCHASE SYSTEM
1. ANALYSIS
1.1 Identifying the Actors
1.2 Identifying the Use Cases
2. REQUIREMENTS
2.1 System Requirements
2.2 Software Requirements
3. DESIGN
3.1 Use Case Diagram
3.2 Class Diagram
3.3 Sequence Diagram
3.4 Collaboration Diagram
3.5 Activity Diagram
3.6 State Diagram

ONLINE PURCHASE USE CASE DIAGRAM



ONLINE PURCHASE CLASS DIAGRAM



ONLINE PURCHASE SEQUENCE DIAGRAM



ONLINE PURCHASE COLLABORATION DIAGRAM


ONLINE PURCHASE ACTIVITY DIAGRAM



ONLINE PURCHASE STATECHART DIAGRAM




CLASS CODE
public class Customer()
{
                private string name
                private string addtoshop
                private int creditrating
               
                public Customer()
                {
                }
                public void delieverItem()
                {
                }
                public void selectItem()
                {
                }
                public void removeItem()
                {
                }
}
public class ItemOfPurchase()
{
                private int quantity
                private flaot priceperitem

                public ItemOfPurchase()
                {

                }
                public float getPriceperItem()
                {

                }
                public void setPriceperItem(float val)
                {
                                Item = val
                }
}public class Product()
{
public Product()
                {

                }
}
RESULT:-
Thus the UML models for the Online Purchase System have been developed and verified.



0 comments:

Post a Comment