Package org.apache.ofbiz.product.config
Class ProductConfigWrapper.ConfigItem
java.lang.Object
org.apache.ofbiz.product.config.ProductConfigWrapper.ConfigItem
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ProductConfigWrapper
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add option.boolean
Gets config item.Gets config item assoc.Gets content.Gets default.Gets description.Gets options.Gets question.Gets selected.int
hashCode()
boolean
isFirst()
Is first boolean.boolean
Is mandatory boolean.boolean
Is selected boolean.boolean
Is single choice boolean.boolean
Is standard boolean.void
setContent
(Locale locale, String mimeTypeId) Sets content.void
setFirst
(boolean newValue) Sets first.toString()
-
Constructor Details
-
ConfigItem
- Throws:
Exception
-
ConfigItem
-
-
Method Details
-
setContent
Sets content.- Parameters:
locale
- the localemimeTypeId
- the mime type id
-
getContent
Gets content.- Returns:
- the content
-
getConfigItem
Gets config item.- Returns:
- the config item
-
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
Add option.- Parameters:
option
- the option
-
getOptions
Gets options.- Returns:
- the options
-
getQuestion
Gets question.- Returns:
- the question
-
getDescription
Gets description.- Returns:
- the description
-
isSelected
public boolean isSelected()Is selected boolean.- Returns:
- the boolean
-
getSelected
Gets selected.- Returns:
- the selected
-
getDefault
Gets default.- Returns:
- the default
-
equals
-
hashCode
public int hashCode() -
toString
-