Package FLOTF
Class Supply
- java.lang.Object
-
- FLOTF.Supply
-
public class Supply extends java.lang.Object
This class holds the logic of checking a part's inventory in the supply database- Author:
- Bernard Chan, Sonali Loomba
-
-
Constructor Summary
Constructors Constructor Description Supply()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
checkInventory(java.lang.String nsn)
Finds the inventory of a part in the supply database based on the National Stock Number of the part
-
-
-
Method Detail
-
checkInventory
public static java.lang.String checkInventory(java.lang.String nsn)
Finds the inventory of a part in the supply database based on the National Stock Number of the part- Parameters:
nsn
- the National Stock Number to check- Returns:
- String number amount of the part that is in stock
-
-