Professional Documents
Culture Documents
Figure 1: Class Diagram
Figure 1: Class Diagram
1 CLASS DIAGRAM
Class diagram describes the structure of a system by showing the system's classes, their attributes, operations (or methods), and the relationships among the classes.
CategoryImpl Class: This class is used to divide the equipment under different categories and hence show the details. GroupCargoImpl Class: It is used for displaying the equipment based on group and cargo type. StayDayImpl Class: This class is used to calculate the availability of equipment on the port. BookingTrendImpl Class: It would be used to display the historic trend of the equipment based on particular group or cargo type. It can be either calculated weekly or monthly.
4.3.1.2
If the Username and Password doesnt match with the values present in the Database, then the request would not be processed and a fault response will be sent. If they are matched, the service would parse the request based on the Equipment tag and then for the Activity tag corresponding to the parent Equipment tag. This web service will also check for Message Type, it can contain either Equipment or Voyage as data. If the Current tag contains Y as data then the transaction is for current and if tag contains N, then the transaction is for history. If the Equipment is already present in the current table, it updates the Equipment with the recent Activity; else it inserts the Equipment with the latest Activity Order into the database. Equipment No, Activity code, Cargo Type and ActivityPortCode are mandatory tags for insertion and update. In case the data gets missed in those tags, then the web service will discard the request and send fault. There can be more than one equipment data and each equipment can have more than one activity in the request object, so in case any one of them is inappropriate then the whole request will be discarded and a fault message will be sent. The Web service will check for current tag and activity order for insertion and update. The following table display the activity that will take place based on the data received by web service :
Equipment New Equip New Equip Old Equip Old Equip Old Equip Old Equip New Equip New Equip Old Equip Old Equip Old Equip Old Equip
Activity Order new new new new old old new new new old old New
Message type Equipment Equipment Equipment Equipment Equipment Equipment Voyage Voyage Voyage Voyage Voyage Voyage
Current Y N Y N Y N Y N Y Y N N
Conclusion Insert into Current Table insert into History Table Update complete row in current insert in history update with given values in current update with given values in History Fault Message Fault Message Fault Message update with given values in current Update with given values in history Fault Message
4.3.2 APPLICATION WEB SERVICES 4.3.2.1 WEB SERVICE FOR INITIAL DATA LOADING
This web service will call the IntialDataLoad Impl class to load the data on the home screen and do the changes as per the user. This is the first/initial web service that gets called by the user. It is the main interface service for the entire WWL Dash board application. It loads the initial/home page based on the username and the default region of user It provides added options/facilities to the global user to change the regions and the countries and view different ports. It provides different choices for the user to select the functionality that has to be performed.
4.3.2.2
4.3.2.3
4.3.2.4
4.3.2.5
4.3.2.6