[ism6129proj] Re: Meeting on sunday

  • From: csmall <csmall@xxxxxxx>
  • To: ism6129proj@xxxxxxxxxxxxx
  • Date: Mon, 13 Nov 2006 13:02:10 -0500


Per the diagram, the manager updates the rental copy. What does that update
correspond to?
There are 2 different movie classes. One is a movie database which records information (title, year, etc.) about the movies we rent. The manager uses this to answer queries. There is another class made up of rental copies. These are the individual copies of movies that we rent out. The idea is that there would be data redundancy if we only had 1 class for movies. For each copy of a movie we rented out we would have to store title, year, etc. even though they are all the same (ie 10 copies of Mission Impossible would be the same with only a Movie ID changing.) Separating these enables us to reduce the redundancy, record how many times a rental copy is rented and also how popular a particular title is.

When a manager updates a rental copy, he is adding a copy of a particular movie into the rental database. (ie, there are 10 copies of Mission Impossible and he wants to add an 11th)
He doesn't need to update the movie database because it is already there.

What does the dashed line going from the employee super-class to the rental
copy order represent?

An employee (manager or hourly) Scans in a movie (so there is a line between employee and movie) and that action updates the rental copy order for that movie. It records the return date and calculates late fees. We made the order an association class between the employee and the movie. The line should be coming from the line not from the employee class.


Is the rental copy
order the receipt given to a customer upon rental or a bill for late fees?
If it is a receipt given at initial check-out, would it be feasible to have
a late fee operation seeing how no late fees would have accrued at that
point and time? I'm just unclear as to what we mean by rental copy order.

It is both. It records the transactions when a movie checked out and a physical receipt can be produced by the data that it records. Also, internally, it keeps track of the due dates and charges associated with that order. When a movie is returned, this order class is responsible for determining late charges and updating the costumer account



Also, I didn't see a class for payment system. Is that because we are just
going to say that we don't need to maintain any data related to the payment
system and just include it as an operation in movie order form? I'm just
curious, but if that's the case, it sounds like a good idea to me.

We removed both the payment system and the billing system. We were thinking of the activities example that he gave in class. A student participates in activities and an university keeps track of the participation. However, since there is only 1 university and it never changes, there was no need for a university class. Same thing here. There is no need for a separate class which only performs functions and wouldn't have any attributes. We off-loaded those functions onto the rental order class and the new movie order class






Christian Arias wrote:
Sorry my fourth question was cut-off before sending. Is the rental copy
order the receipt given to a customer upon rental or a bill for late fees?
If it is a receipt given at initial check-out, would it be feasible to have
a late fee operation seeing how no late fees would have accrued at that
point and time? I'm just unclear as to what we mean by rental copy order.

Thanks

Chris Arias

-----Original Message-----
From: Christian Arias [mailto:carias584@xxxxxxxxxxxxx] Sent: Monday, November 13, 2006 9:19 AM
To: 'ism6129proj@xxxxxxxxxxxxx'
Subject: RE: [ism6129proj] Re: Meeting on sunday

I looked over the class diagram and everything looks really well laid out. I
just had a couple questions.

Per the diagram, the manager updates the rental copy. What does that update
correspond to?

What does the dashed line going from the employee super-class to the rental
copy order represent?

Is the rental copy order the receipt given to customer upon renting the
video or a bill for late fees? If it is a recep

Also, I didn't see a class for payment system. Is that because we are just
going to say that we don't need to maintain any data related to the payment
system and just include it as an operation in movie order form? I'm just
curious, but if that's the case, it sounds like a good idea to me.









Other related posts: