Class SparePartsInventory.SparePartEntry
java.lang.Object
neqsim.process.mechanicaldesign.SparePartsInventory.SparePartEntry
- All Implemented Interfaces:
Serializable
- Enclosing class:
SparePartsInventory
A single spare part entry.
- Version:
- 1.0
- Author:
- esol
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSparePartEntry(String equipmentName, String equipmentType, String partName, int quantity, String criticality, int leadTimeWeeks) Creates a spare part entry. -
Method Summary
Modifier and TypeMethodDescriptionGets the criticality level.Gets the equipment name.Gets the equipment type.intGets the procurement lead time.Gets the part name.intGets the recommended quantity.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
equipmentName
-
equipmentType
-
partName
-
quantity
private int quantity -
criticality
-
leadTimeWeeks
private int leadTimeWeeks
-
-
Constructor Details
-
SparePartEntry
public SparePartEntry(String equipmentName, String equipmentType, String partName, int quantity, String criticality, int leadTimeWeeks) Creates a spare part entry.- Parameters:
equipmentName- the equipment this spare is forequipmentType- type keywordpartName- description of the spare partquantity- recommended stock quantitycriticality- criticality level (Critical, Major, Minor)leadTimeWeeks- procurement lead time in weeks
-
-
Method Details
-
getEquipmentName
-
getEquipmentType
-
getPartName
-
getQuantity
public int getQuantity()Gets the recommended quantity.- Returns:
- stock quantity
-
getCriticality
-
getLeadTimeWeeks
public int getLeadTimeWeeks()Gets the procurement lead time.- Returns:
- lead time in weeks
-