Enum Class OptionTemplateRelationshipType
java.lang.Object
java.lang.Enum<OptionTemplateRelationshipType>
com.broadleafcommerce.catalog.web.endpoint.dto.type.OptionTemplateRelationshipType
- All Implemented Interfaces:
Serializable
,Comparable<OptionTemplateRelationshipType>
,Constable
Determine whether the
Product.getOptions()
generated from this template will reference
the template by default.
When true, the ProductOption
will reflect changes made to the OptionTemplate
When
false, the generated ProductOption
will be its own copy of the template-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionMeans that generation is based on anOptionTemplateGroup
.Means that generation is based on anOptionTemplate
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static OptionTemplateRelationshipType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REFERENCE
Means that generation is based on anOptionTemplate
. -
EMBEDDED
Means that generation is based on anOptionTemplateGroup
.
-
-
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
-