Enum Class PackerEntityWarningType

java.lang.Object
java.lang.Enum<PackerEntityWarningType>
com.veeroute.lss.packer.model.PackerEntityWarningType
All Implemented Interfaces:
Serializable, Comparable<PackerEntityWarningType>, Constable

public enum PackerEntityWarningType extends Enum<PackerEntityWarningType>
Warning type: * `INVALID_PALLET_SLOT_FIT` - a pallet without rotation must be placed in the slot, taking into account the maximum load in terms of size and weight * `INVALID_MIXBOX_PALLET_FIT` - any mixbox must fit on a pallet considering the maximum load, any 4 mixboxes of the same type in a 2×2 configuration without rotation must fit on any pallet according to the overall dimensions and weight of the package body_dimensions * `INVALID_PRODUCT_PACKAGE_FIT` - the product must be placed on a pallet, or in all mixboxes (if only mixboxes are compatible) * `INVALID_PRODUCT_COMPATIBILITY` - the product must be compatible either with all packages or only with all mixboxes
  • Enum Constant Details

  • Method Details

    • values

      public static PackerEntityWarningType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PackerEntityWarningType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<PackerEntityWarningType>
    • fromValue

      public static PackerEntityWarningType fromValue(String value)
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Throws:
      IOException