Package com.veeroute.lss.packer.model
Enum Class PackerEntityWarningType
- All Implemented Interfaces:
Serializable,Comparable<PackerEntityWarningType>,Constable
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
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic PackerEntityWarningTypegetValue()toString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) static PackerEntityWarningTypeReturns the enum constant of this class with the specified name.static PackerEntityWarningType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INVALID_PALLET_SLOT_FIT
-
INVALID_MIXBOX_PALLET_FIT
-
INVALID_PRODUCT_PACKAGE_FIT
-
INVALID_PRODUCT_COMPATIBILITY
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getValue
-
toString
- Overrides:
toStringin classEnum<PackerEntityWarningType>
-
fromValue
-
validateJsonElement
- Throws:
IOException
-