public interface IOption extends IState, IQuantity
IStateValue.DetailedSelectionState, IStateValue.SelectionState, IStateValue.State
IConfigurableNode.ConfigurableType
IRuntimeNode.StructureType
AVAILABLE, EXCLUDED, LFALSE, LTRUE, PFALSE, PROPOSED_EXCLUDED, PROPOSED_SELECTED, PTRUE, SELECTABLE, SELECTED, SYSTEM_EXCLUDED, SYSTEM_SELECTED, UFALSE, UNKNOWN, USER_EXCLUDED, USER_SELECTED, UTRUE
ALL_FEATURES, BOM_MODEL, BOM_OPTION_CLASS, BOM_STD_ITEM, BOOLEAN_FEATURE, COMPONENT, COMPONENT_PORT, CONNECTOR_PORT, COUNT_FEATURE, DECIMAL_FEATURE, INTEGER_FEATURE, INTEGER_RESOURCE, INTEGER_TOTAL, MISSING_NODE, OPTION, OPTION_FEATURE, RESOURCE, TEXT_FEATURE, TOTAL, VIRTUAL_COMPONENT
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExcludedImageUrl()
Returns the excluded image url
|
java.lang.String |
getSelectedImageUrl()
Returns the selected image url
|
java.lang.String |
getUnselectedImageUrl()
Returns the unselected image url
|
void |
toggleAndSetQuantity(int quantity)
Sets the quantity of this option, if the maxSelection has already been
reached, it deselects one of the siblings in reverse selection order.
|
exclude, select, toggle
getDetailedSelectionState, getDetailedSelectionStateValue, getSelectionState, getSelectionStateValue, getState, getStateValue, isBoundSelectionState, isExcluded, isFalse, isSelected, isTrue
getConfigurableNodeType, getConfiguration, getConfiguratorPath, getDatabaseID, getDisplayName, getInputRequiredFlag, getName, getRuntimeID, getValidationErrorText, isBound, isChangedByAC, isChangedByAC, isDeleted, isInputRequired, isInputRequiredError, isProposed, isValid, removeAllUserDecisions, setInputRequiredFlag
getAvailableEventCommands, getChildByName, getChildren, getChildrenByType, getChildrenByType, getConfigurationAttributeByName, getConfigurationAttributeByName, getConfigurationAttributes, getConfigurationAttributes, getDescription, getDisplayNamePath, getNamePath, getNodeType, getParent, getProperties, getPropertyByID, getPropertyByName, getRoot, getStructureType, hasChildren, hasCount, hasDescription, isDescendantOf, isEffective, isInputRequiredInSubtree, isPriceAble, isQuoteable, isRoot, isSupplementalOrPortNode, isUiVisible
getDefinitionMaxQuantity, getDefinitionMinQuantity, getMaxQuantity, getMinQuantity, isBoundQuantity, setQuantity, unsetQuantity
getQuantity, isDecimal
void toggleAndSetQuantity(int quantity) throws LogicalException
quantity
- the value to set this option to.LogicalException
- if the value conflicts with the state of the
configuration. In case where the removal of a sibling fails,
it will be a NonOveridableLogicalException.java.lang.String getSelectedImageUrl()
java.lang.String getUnselectedImageUrl()
java.lang.String getExcludedImageUrl()