Enum DefaultSkuInventoryFulfillmentType
- java.lang.Object
-
- java.lang.Enum<DefaultSkuInventoryFulfillmentType>
-
- com.broadleafcommerce.inventory.domain.DefaultSkuInventoryFulfillmentType
-
- All Implemented Interfaces:
EnumeratedType
,SkuInventoryFulfillmentType
,Serializable
,Comparable<DefaultSkuInventoryFulfillmentType>
public enum DefaultSkuInventoryFulfillmentType extends Enum<DefaultSkuInventoryFulfillmentType> implements SkuInventoryFulfillmentType
Default enum implementation ofDefaultSkuInventoryFulfillmentType
.- Author:
- Kelly Tisdell (ktisdell)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
Returns a non-null, enumerated String value, typically in the form of an enum name (e.g.static DefaultSkuInventoryFulfillmentType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DefaultSkuInventoryFulfillmentType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PICKUP
public static final DefaultSkuInventoryFulfillmentType PICKUP
-
SHIP
public static final DefaultSkuInventoryFulfillmentType SHIP
-
-
Method Detail
-
values
public static DefaultSkuInventoryFulfillmentType[] 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 (DefaultSkuInventoryFulfillmentType c : DefaultSkuInventoryFulfillmentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultSkuInventoryFulfillmentType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public String getValue()
Description copied from interface:EnumeratedType
Returns a non-null, enumerated String value, typically in the form of an enum name (e.g. 'SOME_VALUE'). Often this is an alias forEnum.name()
.- Specified by:
getValue
in interfaceEnumeratedType
- Returns:
-
-