Enum DefaultMergingType
java.lang.Object
java.lang.Enum<DefaultMergingType>
com.broadleafcommerce.cartoperation.domain.type.DefaultMergingType
- All Implemented Interfaces:
Serializable
,Comparable<DefaultMergingType>
Out of the box merging types for Products.
- Author:
- SkyePekerti
-
Enum Constant Summary
Enum ConstantDescriptionCombine item into a similar item.Reject or ignore item from being added.Keep item separate from similar items. -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultMergingType
Returns the enum constant of this type with the specified name.static DefaultMergingType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
COMBINE
Combine item into a similar item. -
SEPARATE
Keep item separate from similar items. -
REJECT_OR_IGNORE
Reject or ignore item from being added.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-