Fatima Jinnah Women University, Rawalpindi: Assignment 02
Fatima Jinnah Women University, Rawalpindi: Assignment 02
Assignment 02
System Description The network time server is the system that provides the current time to a
client when he establishes connection with it.
Assumptions
The current time return by the server is according to time zone specified by the Client.
A time zone can be defined as a region, every client belongs to a time zone and where he
lives a standard time is followed.
The time zone has offset obtained by adding or subtracting time from current local time. The
time zone is followed by any country or its major cities.
Domain Modelling
Domain Model consists of conceptual classes
Conceptual Classes The conceptual classes are identified with help of nouns. Nouns in the text
are
Client
Server
Network Connection
Time zone
Network Connection In some domain like server management systems, Connection is a
conceptual class, client machine needs to connect with server through different sort of protocols
that will be specified by this connection class.
The Attributes or Associations should be Classes
Current Time can be shown as attribute of the server, but it is complex on not plain number or
text, it is related to a specific time zone.
Time Zone can be shown as attribute of the server, but it is a conceptual class itself because it
has further attributes.
Major City every city or region has standard time, Time zone belongs to a region or country,
Major Cities of that time zone of country has its attributes like to which country it belongs, So it
is also shown as conceptual class.
Domain Model
Description
The client will request for connection which is then established by server. The client requests for
current time by specifying the time zone name where he lives. The system returns the current
time according to that specified time zone name.
UC2: Get list of time zones
Description
The client will request for connection which is then established by server. The client requests for
list of time zones. The system returns the List of time zones along their name, offset and the
major cities belonged to that time zone/