Interface Item

  • All Known Implementing Classes:
    AudioPlayer, MoviePlayer, Product

    public interface Item
    The item interface allows for polymorphism to be used with each implementation. It represents an item which has an ID, name, and manufacturer. Primarily used for the Products.
    Author:
    Jairo Garciga
    • Method Detail

      • getID

        int getID()
      • setName

        void setName​(java.lang.String name)
      • getName

        java.lang.String getName()
      • setManufacturer

        void setManufacturer​(java.lang.String manufacturer)
      • getManufacturer

        java.lang.String getManufacturer()