Package org.apache.ofbiz.product.config
Class ProductConfigWrapper.ConfigItem
- java.lang.Object
-
- org.apache.ofbiz.product.config.ProductConfigWrapper.ConfigItem
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ProductConfigWrapper
public class ProductConfigWrapper.ConfigItem extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigItem(GenericValue questionAssoc)
ConfigItem(ProductConfigWrapper.ConfigItem ci)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOption(ProductConfigWrapper.ConfigOption option)
boolean
equals(java.lang.Object o)
GenericValue
getConfigItem()
GenericValue
getConfigItemAssoc()
ProductConfigItemContentWrapper
getContent()
ProductConfigWrapper.ConfigOption
getDefault()
java.lang.String
getDescription()
java.util.List<ProductConfigWrapper.ConfigOption>
getOptions()
java.lang.String
getQuestion()
ProductConfigWrapper.ConfigOption
getSelected()
int
hashCode()
boolean
isFirst()
boolean
isMandatory()
boolean
isSelected()
boolean
isSingleChoice()
boolean
isStandard()
void
setContent(java.util.Locale locale, java.lang.String mimeTypeId)
void
setFirst(boolean newValue)
java.lang.String
toString()
-
-
-
Constructor Detail
-
ConfigItem
public ConfigItem(GenericValue questionAssoc) throws java.lang.Exception
- Throws:
java.lang.Exception
-
ConfigItem
public ConfigItem(ProductConfigWrapper.ConfigItem ci)
-
-
Method Detail
-
setContent
public void setContent(java.util.Locale locale, java.lang.String mimeTypeId)
-
getContent
public ProductConfigItemContentWrapper getContent()
-
getConfigItem
public GenericValue getConfigItem()
-
getConfigItemAssoc
public GenericValue getConfigItemAssoc()
-
isStandard
public boolean isStandard()
-
isSingleChoice
public boolean isSingleChoice()
-
isMandatory
public boolean isMandatory()
-
isFirst
public boolean isFirst()
-
setFirst
public void setFirst(boolean newValue)
-
addOption
public void addOption(ProductConfigWrapper.ConfigOption option)
-
getOptions
public java.util.List<ProductConfigWrapper.ConfigOption> getOptions()
-
getQuestion
public java.lang.String getQuestion()
-
getDescription
public java.lang.String getDescription()
-
isSelected
public boolean isSelected()
-
getSelected
public ProductConfigWrapper.ConfigOption getSelected()
-
getDefault
public ProductConfigWrapper.ConfigOption getDefault()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-