Parrot Messaging

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Parrot is a simplified messaging application.

It allows users to join rooms and

exchange messages. Each user has an id, e-mail address, contact number, address,

and name. Because a user doesn’t have to be a person, only some users have age,

gender and hobbies. Businesses represent a special type of user that can have a

variable list of characteristics.

To send a message, a user must be in a room and can only send messages to users

in that room. However, the application does allow a user to be in multiple rooms

simultaneously. For each message, a timestamp and sender is recorded along with

the content and type of message (multimedia).

Within a room, a user can send messages, search messages, and delete a message it

owns. Users can also be automatically removed from a room if they post messages

which go against the guidelines of the room.

Questions

1. Create a class model consisting of domain entities and relationships. (15

minutes)

a. Attributes, methods, and type of relationships (composition,

extensions, etc) must be omitted.


b. The relationship between entities must include a message describing

the relationship.

2. Extend the class diagram to include attributes, methods, and relationships.

You might also like