Package com.sgs.common.database
Enum Container.ContainerType
- java.lang.Object
-
- java.lang.Enum<Container.ContainerType>
-
- com.sgs.common.database.Container.ContainerType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Container.ContainerType>
- Enclosing class:
- Container
public static enum Container.ContainerType extends java.lang.Enum<Container.ContainerType>
The different types of containers that are used in the system. These containers affect various areas from receipt, to production, through to shipping.- Author:
- SGSystems
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BATCH_MIX
BATCH_PALLET
COMMONS_BULK_CONTAINER
COMMONS_CONTAINER
CONTAINER
INVENTORY_PALLET
PRODUCT_PALLET
RACK
RECEIPT_PALLET
SHIPPING_PACK
SHIPPING_PALLET
WASTE_CONTAINER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getInt()
static Container.ContainerType
parse(int type)
java.lang.String
toString()
static Container.ContainerType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Container.ContainerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTAINER
public static final Container.ContainerType CONTAINER
-
RECEIPT_PALLET
public static final Container.ContainerType RECEIPT_PALLET
-
PRODUCT_PALLET
public static final Container.ContainerType PRODUCT_PALLET
-
BATCH_PALLET
public static final Container.ContainerType BATCH_PALLET
-
SHIPPING_PALLET
public static final Container.ContainerType SHIPPING_PALLET
-
BATCH_MIX
public static final Container.ContainerType BATCH_MIX
-
WASTE_CONTAINER
public static final Container.ContainerType WASTE_CONTAINER
-
COMMONS_CONTAINER
public static final Container.ContainerType COMMONS_CONTAINER
-
INVENTORY_PALLET
public static final Container.ContainerType INVENTORY_PALLET
-
COMMONS_BULK_CONTAINER
public static final Container.ContainerType COMMONS_BULK_CONTAINER
-
SHIPPING_PACK
public static final Container.ContainerType SHIPPING_PACK
-
RACK
public static final Container.ContainerType RACK
-
-
Method Detail
-
values
public static Container.ContainerType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Container.ContainerType c : Container.ContainerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Container.ContainerType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
parse
public static Container.ContainerType parse(int type)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<Container.ContainerType>
-
getInt
public int getInt()
-
-