Uses of Class
com.xavierloeraflores.inventorymanagement.Part

  • Uses of Part in com.xavierloeraflores.inventorymanagement

    Modifier and Type
    Class
    Description
    class 
    A class representing in house parts in which inherits from the part class.
    class 
    A class representing outsourced parts in which inherits from the part class.
    Modifier and Type
    Field
    Description
    private static Part
    MainFormController.selectedPart
    The [selectedPart] which will be modified by the user.
    private Part
    ModifyPartController.selectedPart
    The [selectedPart] which will be modified by the user.
    Fields in com.xavierloeraflores.inventorymanagement with type parameters of type Part
    Modifier and Type
    Field
    Description
    private static final javafx.collections.ObservableList<Part>
    Inventory.allParts
    The [observableArrayList] of parts in the inventory.
    private javafx.collections.ObservableList<Part>
    The [observableArrayList] of parts associated with this product.
    private javafx.scene.control.TableColumn<Part,Integer>
    AddProductController.columnAssociatedPartId
    The [columnAssociatedId] which displays Associated Parts' Id.
    private javafx.scene.control.TableColumn<Part,Integer>
    ModifyProductController.columnAssociatedPartId
    The [columnAssociatedId] which displays Associated Parts' Id.
    private javafx.scene.control.TableColumn<Part,String>
    AddProductController.columnAssociatedPartName
    The [columnAssociatedName] which displays Associated Parts' Name.
    private javafx.scene.control.TableColumn<Part,String>
    ModifyProductController.columnAssociatedPartName
    The [columnAssociatedName] which displays Associated Parts' Name.
    private javafx.scene.control.TableColumn<Part,Double>
    AddProductController.columnAssociatedPartPrice
    The [columnAssociatedPrice] which displays Associated Parts' Price.
    private javafx.scene.control.TableColumn<Part,Double>
    ModifyProductController.columnAssociatedPartPrice
    The [columnAssociatedPrice] which displays Associated Parts' Price.
    private javafx.scene.control.TableColumn<Part,Integer>
    AddProductController.columnAssociatedPartStock
    The [columnAssociatedStock] which displays Associated Parts' Stock.
    private javafx.scene.control.TableColumn<Part,Integer>
    ModifyProductController.columnAssociatedPartStock
    The [columnAssociatedStock] which displays Associated Parts' Stock.
    private javafx.scene.control.TableColumn<Part,Integer>
    AddProductController.columnInventoryPartId
    The [columnInventoryId] which displays Inventory Parts' Id.
    private javafx.scene.control.TableColumn<Part,Integer>
    ModifyProductController.columnInventoryPartId
    The [columnInventoryId] which displays Inventory Parts' Id.
    private javafx.scene.control.TableColumn<Part,String>
    AddProductController.columnInventoryPartName
    The [columnInventoryName] which displays Inventory Parts' Name.
    private javafx.scene.control.TableColumn<Part,String>
    ModifyProductController.columnInventoryPartName
    The [columnInventoryName] which displays Inventory Parts' Name.
    private javafx.scene.control.TableColumn<Part,Double>
    AddProductController.columnInventoryPartPrice
    The [columnInventoryPrice] which displays Inventory Parts' Price.
    private javafx.scene.control.TableColumn<Part,Double>
    ModifyProductController.columnInventoryPartPrice
    The [columnInventoryPrice] which displays Inventory Parts' Price.
    private javafx.scene.control.TableColumn<Part,Integer>
    AddProductController.columnInventoryPartStock
    The [columnInventoryStock] which displays Inventory Parts' Stock.
    private javafx.scene.control.TableColumn<Part,Integer>
    ModifyProductController.columnInventoryPartStock
    The [columnInventoryStock] which displays Inventory Parts' Stock.
    private javafx.scene.control.TableColumn<Part,Integer>
    MainFormController.columnPartId
    The [columnPartId] which displays Inventory Parts' Id.
    private javafx.scene.control.TableColumn<Part,String>
    MainFormController.columnPartName
    The [columnPartName] which displays Inventory Parts' Name.
    private javafx.scene.control.TableColumn<Part,Double>
    MainFormController.columnPartPrice
    The [columnPartPrice] which displays Inventory Parts' Price.
    private javafx.scene.control.TableColumn<Part,Integer>
    MainFormController.columnPartStock
    The [columnPartStock] which displays Inventory Parts' Stock.
    private javafx.scene.control.TableColumn<Part,Integer>
    MainFormController.columnProductId
    The [columnProductId] which displays Inventory Products' Id.
    private javafx.scene.control.TableColumn<Part,String>
    MainFormController.columnProductName
    The [columnProductName] which displays Inventory Products' Name.
    private javafx.scene.control.TableColumn<Part,Double>
    MainFormController.columnProductPrice
    The [columnProductPrice] which displays Inventory Products' Price.
    private javafx.scene.control.TableColumn<Part,Integer>
    MainFormController.columnProductStock
    The [columnProductStock] which displays Inventory Products' Stock.
    private javafx.scene.control.TableView<Part>
    AddProductController.tableAssociatedPart
    The [TableAssociated] which displays Associated Parts.
    private javafx.scene.control.TableView<Part>
    ModifyProductController.tableAssociatedPart
    The [TableAssociated] which displays Associated Parts.
    private javafx.scene.control.TableView<Part>
    AddProductController.tableInventoryPart
    The [tableInventoryPart] which displays Inventory Parts.
    private javafx.scene.control.TableView<Part>
    ModifyProductController.tableInventoryPart
    The [tableInventoryPart] which displays Inventory Parts.
    private javafx.scene.control.TableView<Part>
    MainFormController.tablePart
    The [tablePart] which displays Inventory Parts.
    Modifier and Type
    Method
    Description
    static Part
    MainFormController.getSelectedPart()
    Returns the selectedPart, so it can be accessed on the modification screen.
    static Part
    Inventory.lookupPart(int partId)
    Looks up a part given a partID and returns the result.
    Methods in com.xavierloeraflores.inventorymanagement that return types with arguments of type Part
    Modifier and Type
    Method
    Description
    javafx.collections.ObservableList<Part>
    Returns the associated parts list of the product.
    static javafx.collections.ObservableList<Part>
    Inventory.getAllParts()
    Returns the full list of parts in the inventory
    static javafx.collections.ObservableList<Part>
    Inventory.lookupPart(String partName)
    Looks up parts given a partName and returns the result
    Methods in com.xavierloeraflores.inventorymanagement with parameters of type Part
    Modifier and Type
    Method
    Description
    void
    Product.addAssociatedPart(Part part)
    Adds a part to the associatedParts list of the product.
    static void
    Inventory.addPart(Part newPart)
    Adds a part to the allParts list of the inventory.
    boolean
    Product.deleteAssociatedPart(Part selectedAssociatedPart)
    Deletes a part from the associatedParts list of the product.
    static boolean
    Inventory.deletePart(Part selectedPart)
    Takes an index value pointing to a part in the inventory to delete it and return true or false if successful
    static void
    Inventory.updatePart(int index, Part newPart)
    Takes an index value pointing to a part in the inventory and updates it with the given newPart