dogfriendbookclub / Application

ICS 372-01
2 stars 0 forks source link

Milestone 3 - Implement Reviewable, Likable and MediaType #31

Open dogfriendbookclub opened 1 week ago

dogfriendbookclub commented 1 week ago

Implement all of the code in your class diagram including the models, views, and controllers you identified in the first part of this milestone

From: Project Milestone 3 - 01.pdf

PaulTrevizo commented 1 week ago

Commited Likable Interface and MediaType enum. Still working to finalize Reviewable interface.

PaulTrevizo commented 1 week ago

@dogfriendbookclub question for you. The UML diagram dictates that there is a toString operation in Reviewable, but toString is already available to all objects. Do you think we still need it? Here is a copy of my code:

package edu.metrostate;

public interface Reviewable {
    //"public" declaration is not needed as methods in interfaces are understood to be public

    double getStars();
    int getShowId();
    void recalculateStars(Reviewable reviewable);

    //is toString necessary in the interface?
    //void toString();
}
PaulTrevizo commented 1 week ago

Hi everyone! Reviewable is now committed.

Thank you Bryn!