Class SparePartsInventory.SparePartEntry

java.lang.Object
neqsim.process.mechanicaldesign.SparePartsInventory.SparePartEntry
All Implemented Interfaces:
Serializable
Enclosing class:
SparePartsInventory

public static class SparePartsInventory.SparePartEntry extends Object implements Serializable
A single spare part entry.
Version:
1.0
Author:
esol
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • equipmentName

      private String equipmentName
    • equipmentType

      private String equipmentType
    • partName

      private String partName
    • quantity

      private int quantity
    • criticality

      private String 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 for
      equipmentType - type keyword
      partName - description of the spare part
      quantity - recommended stock quantity
      criticality - criticality level (Critical, Major, Minor)
      leadTimeWeeks - procurement lead time in weeks
  • Method Details

    • getEquipmentName

      public String getEquipmentName()
      Gets the equipment name.
      Returns:
      equipment name
    • getEquipmentType

      public String getEquipmentType()
      Gets the equipment type.
      Returns:
      equipment type keyword
    • getPartName

      public String getPartName()
      Gets the part name.
      Returns:
      spare part description
    • getQuantity

      public int getQuantity()
      Gets the recommended quantity.
      Returns:
      stock quantity
    • getCriticality

      public String getCriticality()
      Gets the criticality level.
      Returns:
      criticality string
    • getLeadTimeWeeks

      public int getLeadTimeWeeks()
      Gets the procurement lead time.
      Returns:
      lead time in weeks