Class ProductConfigWrapper.ConfigItem

java.lang.Object
org.apache.ofbiz.product.config.ProductConfigWrapper.ConfigItem
All Implemented Interfaces:
Serializable
Enclosing class:
ProductConfigWrapper

public class ProductConfigWrapper.ConfigItem extends Object implements Serializable
See Also:
  • Constructor Details

  • Method Details

    • setContent

      public void setContent(Locale locale, String mimeTypeId)
      Sets content.
      Parameters:
      locale - the locale
      mimeTypeId - the mime type id
    • getContent

      public ProductConfigItemContentWrapper getContent()
      Gets content.
      Returns:
      the content
    • getConfigItem

      public GenericValue getConfigItem()
      Gets config item.
      Returns:
      the config item
    • getConfigItemAssoc

      public GenericValue getConfigItemAssoc()
      Gets config item assoc.
      Returns:
      the config item assoc
    • isStandard

      public boolean isStandard()
      Is standard boolean.
      Returns:
      the boolean
    • isSingleChoice

      public boolean isSingleChoice()
      Is single choice boolean.
      Returns:
      the boolean
    • isMandatory

      public boolean isMandatory()
      Is mandatory boolean.
      Returns:
      the boolean
    • isFirst

      public boolean isFirst()
      Is first boolean.
      Returns:
      the boolean
    • setFirst

      public void setFirst(boolean newValue)
      Sets first.
      Parameters:
      newValue - the new value
    • addOption

      public void addOption(ProductConfigWrapper.ConfigOption option)
      Add option.
      Parameters:
      option - the option
    • getOptions

      Gets options.
      Returns:
      the options
    • getQuestion

      public String getQuestion()
      Gets question.
      Returns:
      the question
    • getDescription

      public String getDescription()
      Gets description.
      Returns:
      the description
    • isSelected

      public boolean isSelected()
      Is selected boolean.
      Returns:
      the boolean
    • getSelected

      public ProductConfigWrapper.ConfigOption getSelected()
      Gets selected.
      Returns:
      the selected
    • getDefault

      public ProductConfigWrapper.ConfigOption getDefault()
      Gets default.
      Returns:
      the default
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object