Package devices

Interface Item

    • Method Detail

      • getId

        int getId()
        Accessor for the ID type.
        Returns:
        The ID of the Item.
      • setName

        void setName​(java.lang.String name)
        Mutator to set the Name of the Item.
        Parameters:
        name - String to set the Item name to.
      • getName

        java.lang.String getName()
        Accessor to get the Name of the Item.
        Returns:
        The Name of the Item.
      • setManufacturer

        void setManufacturer​(java.lang.String name)
        Mutator to set the Manufacturer Name of the Item.
        Parameters:
        name - String to set the Item Manufacture name to.
      • getManufacturer

        java.lang.String getManufacturer()
        Accessor to get the Manufacturer Name of the Item.
        Returns:
        The Manufacturer Name of the Item.
      • setItemType

        void setItemType​(ItemType type)
        Mutator to set the Item Type of the Item.
        Parameters:
        type - Item Type object to declare the object as.
      • getItemType

        ItemType getItemType()
        Accessor to get the Item Type of the Item.
        Returns:
        The Item Type of the Item.
      • setEmployee

        void setEmployee​(Employee employee)
        Mutator to set the Employee actor to the Item.
        Parameters:
        employee - The Employee object that authorized the Item.
      • getEmployee

        Employee getEmployee()
        Accessor to get the Employee Object to the Item.
        Returns:
        The Employee Object of the Item.