oracle.apps.cz.cio
Class OptionFeatureNode
java.lang.Object
|
+--oracle.apps.cz.cio.RuntimeNode
|
+--oracle.apps.cz.cio.PricedNode
|
+--oracle.apps.cz.cio.StateNode
|
+--oracle.apps.cz.cio.StateCountNode
|
+--oracle.apps.cz.cio.OptionFeatureNode
- All Implemented Interfaces:
- IBasicPrice, ICount, IOptionFeature, IPrice, IRuntimeNode, IState
- Direct Known Subclasses:
- BomNode, OptionFeature
- public abstract class OptionFeatureNode
- extends StateCountNode
- implements IOptionFeature
An abstract class implementing behavior commont to all features with options.
| Fields inherited from interface oracle.apps.cz.cio.IRuntimeNode |
ALL_FEATURES, BOM_MODEL, BOM_OPTION_CLASS, BOM_STD_ITEM, BOOLEAN_FEATURE, COMPONENT, COMPONENT_SET, CONNECTOR, COUNT_FEATURE, CURRENT_CHILD, CURRENT_OR_DISCONTINUED_CHILD, DECIMAL_FEATURE, DISCONTINUED_CHILD, EDITABLE, EXTENDED_PASSIVE, IMMEDIATE_PASSIVE, INTEGER_FEATURE, OPTION, OPTION_FEATURE, RESOURCE, SPOOFED, TEXT_FEATURE, TOTAL |
| Method Summary |
void |
deselect(oracle.apps.cz.cio.IOption option)
Deselect a particular option. |
com.sun.java.util.collections.Map |
getAvailableOptions()
|
int |
getMaxSelected()
Returns the maximum number of selected options. |
int |
getMinSelected()
Returns the minimum number of selected options. |
com.sun.java.util.collections.List |
getSelectableChildren()
Returns a List of all selectable children. |
oracle.apps.cz.cio.IOption |
getSelectedOption()
Returns the currently selected option, or null if no option is selected. |
com.sun.java.util.collections.List |
getSelectedOptions()
Returns a, possibly empty, collection of options that are currently selected. |
boolean |
hasMaxSelected()
Returns true if the Feature specifies a maximum number of selected options. |
boolean |
hasMinSelected()
Returns true if the Feature specifies a minimum number of selected options. |
boolean |
isSelectionMutexed()
Returns true if this feature supports mutexed selections. |
void |
select(oracle.apps.cz.cio.IOption option)
Select a particular option. |
| Methods inherited from class oracle.apps.cz.cio.StateNode |
getDetailedSelectionState, getSelectionState, getState, isFalse, isFalseState, isLogic, isLogicState, isTrue, isTrueState, isUnknown, isUnknownState, isUser, isUserState, setState, statesMatch, unset |
| Methods inherited from class oracle.apps.cz.cio.PricedNode |
addDiscountedPricingNotification, addListPricingNotification, cacheCurrentDiscountedPrice, clearDiscountedPrice, clearDiscountedPricingNotifications, clearListPricingNotifications, getBaselineQuantity, getComponentCode, getDeltaQuantity, getDiscountedPrice, getDiscountedPricingNotifications, getExtendedPrice, getInventoryItemId, getItemKey, getListPrice, getListPricingNotifications, getOldDiscountedPrice, getOrganizationId, getPricedNodeID, getPricingNotifications, getPricingValue, getUomCode, getValue, hasDiscountedPrice, hasInventoryItemId, hasListPrice, setDiscountedPrice, setListPrice |
| Methods inherited from class oracle.apps.cz.cio.RuntimeNode |
associateAttribute, evaluateUiExpression, getAttributeByName, getAttributes, getAvailableEventCommands, getBaselineValue, getCaption, getChildByID, getChildByID, getChildByName, getChildByName, getChildByPersistentID, getChildByPersistentID, getChildren, getChildrenByType, getConfigItemID, getConfiguration, getCurrentValue, getCXRules, getDatabaseID, getDeltaValue, getDescription, getDiscontinuedChildren, getDisplayName, getDisplayNamePath, getFuncCompByID, getFuncCompByName, getFunctionalCompanions, getInstalledValue, getLineType, getLineTypeName, getLoadStatus, getLocationID, getLocationTypeCode, getName, getParent, getPersistentID, getProperties, getPropertyById, getPropertyByName, getRootInstance, getRuntimeID, getSelectionLineID, getSummaryChildren, getSummaryValue, getType, hasAttribute, hasChildren, hasChildren, hasConfigItemID, hasCount, hasDecimalValue, hasDescription, hashCode, hasIntegerValue, hasSelectionLineID, hasState, hasTextValue, hasTrackableAncestor, isAddChanged, isAttributeChanged, isChanged, isChildChanged, isDefaultAffected, isDeleteChanged, isDeleted, isDiscontinued, isEditable, isEffective, isIBNodeChanged, isIBNodeOrDescendantChanged, isIBTrackable, isLoaded, isLocationChanged, isNameChanged, isNative, isNodeChanged, isQuoteable, isRoot, isRootInstance, isSatisfied, isTargetChanged, isTrackableRoot, isUiVisible, isUnsatisfied, isUnsatisfiedNode, isValid, isValueChanged, lookupNodeID, lookupNodeID, registerLoadCondition, setLineType, setLocationID, setLocationTypeCode, synchronizeIBValues, typeToString |
| Methods inherited from class java.lang.Object |
equals, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.apps.cz.cio.IRuntimeNode |
evaluateUiExpression, getAvailableEventCommands, getCaption, getChildByID, getChildByName, getChildByPersistentID, getChildren, getChildrenByType, getConfigItemID, getConfiguration, getCurrentValue, getDatabaseID, getDeltaValue, getDescription, getDiscontinuedChildren, getDisplayName, getDisplayNamePath, getInstalledValue, getLineType, getLineTypeName, getLoadStatus, getLocationID, getLocationTypeCode, getName, getParent, getPersistentID, getProperties, getPropertyByName, getRootInstance, getRuntimeID, getSelectionLineID, getSummaryChildren, getSummaryValue, getType, hasChildren, hasConfigItemID, hasCount, hasDecimalValue, hasDescription, hasIntegerValue, hasSelectionLineID, hasState, hasTextValue, hasTrackableAncestor, isAddChanged, isAttributeChanged, isChanged, isChildChanged, isDeleteChanged, isDeleted, isDescendantOf, isDiscontinued, isEditable, isEffective, isIBNodeChanged, isIBNodeOrDescendantChanged, isIBTrackable, isLoaded, isLocationChanged, isNameChanged, isNative, isNodeChanged, isQuoteable, isRoot, isRootInstance, isSatisfied, isTargetChanged, isTrackableRoot, isUiVisible, isUnsatisfied, isUnsatisfiedNode, isValid, isValueChanged, setLineType, setLocationID, setLocationTypeCode |
| Methods inherited from interface oracle.apps.cz.cio.IBasicPrice |
addListPricingNotification, getComponentCode, getInventoryItemId, getListPrice, getListPricingNotifications, getOrganizationId, getPricedNodeID, getValue, hasInventoryItemId, hasListPrice, setListPrice |
RCS_ID
public static final java.lang.String RCS_ID
RCS_ID_RECORDED
public static final boolean RCS_ID_RECORDED
hasMinSelected
public boolean hasMinSelected()
- Description copied from interface:
IOptionFeature
- Returns true if the Feature specifies a minimum number of selected options.
-
- Specified by:
hasMinSelected in interface IOptionFeature
getMinSelected
public int getMinSelected()
- Description copied from interface:
IOptionFeature
- Returns the minimum number of selected options.
-
- Specified by:
getMinSelected in interface IOptionFeature
hasMaxSelected
public boolean hasMaxSelected()
- Description copied from interface:
IOptionFeature
- Returns true if the Feature specifies a maximum number of selected options.
-
- Specified by:
hasMaxSelected in interface IOptionFeature
getMaxSelected
public int getMaxSelected()
- Description copied from interface:
IOptionFeature
- Returns the maximum number of selected options.
-
- Specified by:
getMaxSelected in interface IOptionFeature
getSelectableChildren
public com.sun.java.util.collections.List getSelectableChildren()
- Description copied from interface:
IOptionFeature
- Returns a
List of all selectable children. Selectable children are all immediate children of type option as well as the indirect children of all instantiable options.
-
- Specified by:
getSelectableChildren in interface IOptionFeature
isSelectionMutexed
public boolean isSelectionMutexed()
- Description copied from interface:
IOptionFeature
- Returns
true if this feature supports mutexed selections. When a selection is mutexed, it means that only one of a particular option is selectable at any one time, and selecting one option automatically deselects any other option that is mutexed and currently selected.
-
- Specified by:
isSelectionMutexed in interface IOptionFeature
getSelectedOption
public oracle.apps.cz.cio.IOption getSelectedOption()
throws SelectionNotMutexedException
- Description copied from interface:
IOptionFeature
- Returns the currently selected option, or
null if no option is selected.
-
- Specified by:
getSelectedOption in interface IOptionFeature
-
- Returns:
- the currently selected option.
- Throws:
SelectionNotMutexedException - if this feature does not support mutexed selections.
getSelectedOptions
public com.sun.java.util.collections.List getSelectedOptions()
- Description copied from interface:
IOptionFeature
- Returns a, possibly empty, collection of options that are currently selected.
-
- Specified by:
getSelectedOptions in interface IOptionFeature
getAvailableOptions
public com.sun.java.util.collections.Map getAvailableOptions()
select
public void select(oracle.apps.cz.cio.IOption option)
throws LogicalException
- Description copied from interface:
IOptionFeature
- Select a particular option.
-
- Specified by:
select in interface IOptionFeature
-
- Parameters:
option - the option to be selected.
LogicalException
deselect
public void deselect(oracle.apps.cz.cio.IOption option)
throws LogicalException
- Description copied from interface:
IOptionFeature
- Deselect a particular option.
-
- Specified by:
deselect in interface IOptionFeature
-
- Parameters:
option - the option to be de selected.
LogicalException
Copyright © 1999, 2004, Oracle. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.