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

public enum OptionTemplateRelationshipType extends Enum<OptionTemplateRelationshipType>
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
  • Enum Constant Details

  • Method Details

    • values

      public static OptionTemplateRelationshipType[] 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

      public static OptionTemplateRelationshipType valueOf(String name)
      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 name
      NullPointerException - if the argument is null