public interface IQuantityExpression extends IQuantityValue, IConfigurableNode
IConfigurableNode.ConfigurableType
Modifier and Type | Method and Description |
---|---|
java.lang.Number |
getDefinitionMaxQuantity()
Gets the maximum quantity of this node as defined in the model.
|
java.lang.Number |
getDefinitionMinQuantity()
Gets the minimum quantity of this node as defined in the model.
|
java.lang.Number |
getMaxQuantity()
Gets the current maximum quantity of this node.
|
java.lang.Number |
getMinQuantity()
Gets the current minimum quantity of this node.
|
boolean |
isBoundQuantity()
Returns whether the quantity of this node is bound.
|
void |
setQuantity(java.lang.Number quantity)
Sets the quantity of this node.
|
void |
unsetQuantity()
Removes the user setting and/or auto complete setting (if in adjust mode)
on this node's quantity.
|
getQuantity, isDecimal
getConfigurableNodeType, getConfiguration, getConfiguratorPath, getDatabaseID, getDisplayName, getInputRequiredFlag, getName, getRuntimeID, getValidationErrorText, isBound, isChangedByAC, isChangedByAC, isDeleted, isInputRequired, isInputRequiredError, isProposed, isValid, removeAllUserDecisions, setInputRequiredFlag
boolean isBoundQuantity()
true
if the node is bound.java.lang.Number getMinQuantity()
java.lang.Number getMaxQuantity()
java.lang.Number getDefinitionMinQuantity()
java.lang.Number getDefinitionMaxQuantity()
void setQuantity(java.lang.Number quantity) throws LogicalException
quantity
- the desired quantity in the form of either Integer or
Double.java.lang.IllegalArgumentException
- if this node is integer and parameter
quantity is Double, or the parameter quantity is neither Integer nor
Double.LogicalException
- when there is a conflict.void unsetQuantity() throws LogicalException
LogicalException
- if the removal of the setting exposes a new
conflict.