java.lang.Object
com.broadleafcommerce.catalog.provider.jpa.domain.product.option.JpaAttributeChoice
All Implemented Interfaces:
Serializable

@Embeddable public class JpaAttributeChoice extends Object implements Serializable
Persistent counterpart to AttributeChoice.

For details about why this class is @Embeddable, see the class-level javadoc of JpaProductOption.

Author:
Samarth Dhruva (samarthd)
See Also:
  • Constructor Details

    • JpaAttributeChoice

      public JpaAttributeChoice()
  • Method Details

    • getAttributeName

      public String getAttributeName()
    • getType

      public String getType()
    • getRequired

      public Boolean getRequired()
    • getValidationStrategy

      public String getValidationStrategy()
    • getValidationType

      public String getValidationType()
    • getValidationRule

      public String getValidationRule()
    • getErrorMessage

      public String getErrorMessage()
    • getErrorCode

      public String getErrorCode()
    • getAllowedValues

      public List<JpaAttributeChoiceValue> getAllowedValues()
    • setAttributeName

      public void setAttributeName(String attributeName)
    • setType

      public void setType(String type)
    • setRequired

      public void setRequired(Boolean required)
    • setValidationStrategy

      public void setValidationStrategy(String validationStrategy)
    • setValidationType

      public void setValidationType(String validationType)
    • setValidationRule

      public void setValidationRule(String validationRule)
    • setErrorMessage

      public void setErrorMessage(String errorMessage)
    • setErrorCode

      public void setErrorCode(String errorCode)
    • setAllowedValues

      public void setAllowedValues(List<JpaAttributeChoiceValue> allowedValues)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object