com.rapidtransform.part.model
Class SelectedInstance
java.lang.Object
com.rapidtransform.core.model.AbstractBaseModel
com.rapidtransform.core.model.VersionControlled
com.rapidtransform.part.model.ItemInstance
com.rapidtransform.part.model.SelectedInstance
- All Implemented Interfaces:
- Classified, Model, Versioned, Approvable, OrganizationalData, OrganizationElement, ItemInformation, ProductConstituent, Effective, java.io.Serializable
public class SelectedInstance
- extends ItemInstance
The SelectedInstance is an item on a product structure whose quantity depends on the selection control
constraints (@see SelectionControl). A SelectedInstance can either be an ItemView or a Product.
- Author:
- S. Werner
- See Also:
- Serialized Form
Methods inherited from class com.rapidtransform.part.model.ItemInstance |
getAliases, getConfigs, getDescription, getDocuments, getItemView, getManufacturingConfigs, getRelations, setAliases, setConfigs, setDescription, setDocuments, setItemView, setManufacturingConfig, setManufacturingConfigs, setRelations |
Methods inherited from class com.rapidtransform.core.model.AbstractBaseModel |
equals, generateUuid, getId, getMetaTypeName, getPropertyHolder, getUuid, hashCode, setId, setMetaTypeName, setPropertyHolder, setUuid |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
SelectedInstance
public SelectedInstance()
- default constructor
SelectedInstance
public SelectedInstance(ItemView forView)
- Creates an instance of the specified version.
- Parameters:
forView
- The parent ItemView of this instance
getQuantity
public Quantity getQuantity()
- Returns:
- Returns the quantity.
setQuantity
public void setQuantity(Quantity quantity)
- Parameters:
quantity
- The quantity to set.
getSelectionControl
public java.lang.String getSelectionControl()
- Returns:
- Returns the selectionControl.
setSelectionControl
public void setSelectionControl(java.lang.String selectionControl)
- Parameters:
selectionControl
- The selectionControl to set.