org.opencrx.kernel.product1.jmi1
Interface AbstractProduct
- All Superinterfaces:
- AbstractProduct, AddressContainer, AlertSender, AspectCapable, Auditee, BasicObject, Cloneable, ContextCapable, ContractPositionConstrained, Creatable, CrxObject, DepotReferenceHolder, Exporter, ExtentCapable, Importer, Indexed, Modifiable, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, SecureObject
- All Known Subinterfaces:
- Asset, Product
public interface AbstractProduct
- extends AbstractProduct, DepotReferenceHolder, CrxObject, AddressContainer, ContractPositionConstrained
Abstract class AbstractProduct
| Methods inherited from interface org.opencrx.kernel.product1.cci2.AbstractProduct |
getActiveOn, getAssignedAccount, getBasePrice, getClassification, getDescription, getDetailedDescription, getExpiresOn, getName, getPriceUom, getProductNumber, getProductState, setActiveOn, setAlternateProductNumber, setDescription, setDetailedDescription, setExpiresOn, setName, setProductNumber, setProductState |
| Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject |
getAdditionalExternalLink, getAttachedDocument, getDisabledReason, getDocumentFolderAssignment, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserString0, getUserString1, getUserString2, getUserString3, isDisabled, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, setCategory, setDisabled, setDisabledReason, setExternalLink, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4 |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee |
getAudit |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable |
clone_ |
| Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject |
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser |
| Methods inherited from interface org.opencrx.kernel.product1.cci2.ContractPositionConstrained |
getDefaultPositions, getDefaultQuantity, getItemNumber, getMaxPositions, getMaxQuantity, getMinMaxQuantityHandling, getMinPositions, getMinQuantity, getOffsetQuantity, isAllowModification, isAllowRemoval, setAllowModification, setAllowRemoval, setDefaultPositions, setDefaultQuantity, setItemNumber, setMaxPositions, setMaxQuantity, setMinMaxQuantityHandling, setMinPositions, setMinQuantity, setOffsetQuantity |
| Methods inherited from interface org.opencrx.kernel.generic.jmi1.CrxObject |
addAdditionalExternalLink, addAdditionalExternalLink, addAttachedDocument, addAttachedDocument, addDocumentFolderAssignment, addDocumentFolderAssignment, addMedia, addMedia, addNote, addNote, addPropertySet, addPropertySet, addRating, addRating, getAdditionalExternalLink, getAdditionalExternalLink, getAdditionalExternalLink, getAttachedDocument, getAttachedDocument, getAttachedDocument, getCategory, getDocumentFolderAssignment, getDocumentFolderAssignment, getDocumentFolderAssignment, getExternalLink, getMedia, getMedia, getMedia, getNote, getNote, getNote, getPropertySet, getPropertySet, getPropertySet, getPropertySetEntry, getPropertySetEntry, getPropertySetEntry, getRating, getRating, getRating, getUserBoolean4, getUserCode4, getUserDate4, getUserDateTime4, getUserNumber4, getUserString4, setCategory, setExternalLink, setUserBoolean4, setUserCode4, setUserDate4, setUserDateTime4, setUserNumber4, setUserString4 |
| Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject |
getAdditionalExternalLink, getAttachedDocument, getDisabledReason, getDocumentFolderAssignment, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserString0, getUserString1, getUserString2, getUserString3, isDisabled, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, setCategory, setDisabled, setDisabledReason, setExternalLink, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4 |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee |
getAudit |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable |
clone_ |
| Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject |
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee |
getAudit |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.Cloneable |
clone_ |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable |
clone_ |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.SecureObject |
addOwningGroup, checkPermissions, getAccessGrantedByParent, getOwner, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setOwningUser, setOwningUser |
| Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject |
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser |
| Methods inherited from interface org.opencrx.kernel.product1.cci2.ContractPositionConstrained |
getDefaultPositions, getDefaultQuantity, getItemNumber, getMaxPositions, getMaxQuantity, getMinMaxQuantityHandling, getMinPositions, getMinQuantity, getOffsetQuantity, isAllowModification, isAllowRemoval, setAllowModification, setAllowRemoval, setDefaultPositions, setDefaultQuantity, setItemNumber, setMaxPositions, setMaxQuantity, setMinMaxQuantityHandling, setMinPositions, setMinQuantity, setOffsetQuantity |
getAlternateProductNumber
List<String> getAlternateProductNumber()
- Retrieves a list containing all the elements for the attribute
alternateProductNumber.
- Specified by:
getAlternateProductNumber in interface AbstractProduct
- Returns:
- A list containing all elements for this attribute.
setAlternateProductNumber
void setAlternateProductNumber(List<String> alternateProductNumber)
- Clears
alternateProductNumber and adds the members of the given List.
This method is equivalent to
list.clear();
list.addAll(alternateProductNumber);
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.
- Parameters:
alternateProductNumber - collection to be copied.
getAssignedAccount
<T extends AccountAssignmentProduct> List<T> getAssignedAccount(AccountAssignmentProductQuery query)
- Retrieves the value for the reference
assignedAccount for the specified query.
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query
- Parameters:
query - predicate which is applied to the set of referenced objects.
- Returns:
- The objects for which the predicate evaluates to
true.
getAssignedAccount
AccountAssignmentProduct getAssignedAccount(boolean idIsPersistent,
String id)
- Retrieves the value for the reference
assignedAccount for the specified qualifier attribute value.
- Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this qualifier
getAssignedAccount
AccountAssignmentProduct getAssignedAccount(String id)
- Retrieves the value for the reference
assignedAccount for the specified qualifier attribute value.
This method is equivalent to the preferred invocation getAssignedAccount(false,id).
- Parameters:
id - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this qualifier
addAssignedAccount
void addAssignedAccount(boolean idIsPersistent,
String id,
AccountAssignmentProduct assignedAccount)
- Adds the specified element to the set of the values for the reference
assignedAccount.
Note: This is an extension to the JMI 1 standard.
- Parameters:
idIsPersistent - true if id is persistentid - The qualifier attribute value that qualifies the reference to get the element to be appended.assignedAccount - The element to be appended.
addAssignedAccount
void addAssignedAccount(String id,
AccountAssignmentProduct assignedAccount)
- Adds the specified element to the set of the values for the reference
assignedAccount using a reassignable qualifier.
Note: This is an extension to the JMI 1 standard.
- Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.assignedAccount - The element to be appended.
getBasePrice
<T extends ProductBasePrice> List<T> getBasePrice(ProductBasePriceQuery query)
- Retrieves the value for the reference
basePrice for the specified query.
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query
- Parameters:
query - predicate which is applied to the set of referenced objects.
- Returns:
- The objects for which the predicate evaluates to
true.
getBasePrice
ProductBasePrice getBasePrice(boolean idIsPersistent,
String id)
- Retrieves the value for the reference
basePrice for the specified qualifier attribute value.
- Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this qualifier
getBasePrice
ProductBasePrice getBasePrice(String id)
- Retrieves the value for the reference
basePrice for the specified qualifier attribute value.
This method is equivalent to the preferred invocation getBasePrice(false,id).
- Parameters:
id - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this qualifier
addBasePrice
void addBasePrice(boolean idIsPersistent,
String id,
ProductBasePrice basePrice)
- Adds the specified element to the set of the values for the reference
basePrice.
Note: This is an extension to the JMI 1 standard.
- Parameters:
idIsPersistent - true if id is persistentid - The qualifier attribute value that qualifies the reference to get the element to be appended.basePrice - The element to be appended.
addBasePrice
void addBasePrice(String id,
ProductBasePrice basePrice)
- Adds the specified element to the set of the values for the reference
basePrice using a reassignable qualifier.
Note: This is an extension to the JMI 1 standard.
- Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.basePrice - The element to be appended.
getDefaultPriceLevel
AbstractPriceLevel getDefaultPriceLevel()
- Retrieves the value for the reference
defaultPriceLevel.
- Specified by:
getDefaultPriceLevel in interface AbstractProduct
- Returns:
- The – possibly
null – value for this reference.
setDefaultPriceLevel
void setDefaultPriceLevel(AbstractPriceLevel defaultPriceLevel)
- Sets a new value for the reference
defaultPriceLevel.
- Specified by:
setDefaultPriceLevel in interface AbstractProduct
- Parameters:
defaultPriceLevel - The non-null new value for this reference.
getDefaultUom
Uom getDefaultUom()
- Retrieves the value for the reference
defaultUom.
- Specified by:
getDefaultUom in interface AbstractProduct
- Returns:
- The – possibly
null – value for this reference.
setDefaultUom
void setDefaultUom(Uom defaultUom)
- Sets a new value for the reference
defaultUom.
- Specified by:
setDefaultUom in interface AbstractProduct
- Parameters:
defaultUom - The non-null new value for this reference.
getProductUsage
ActivityTracker getProductUsage()
- Retrieves the value for the reference
productUsage.
- Specified by:
getProductUsage in interface AbstractProduct
- Returns:
- The – possibly
null – value for this reference.
setProductUsage
void setProductUsage(ActivityTracker productUsage)
- Sets a new value for the reference
productUsage.
- Specified by:
setProductUsage in interface AbstractProduct
- Parameters:
productUsage - The non-null new value for this reference.
getSalesTaxType
SalesTaxType getSalesTaxType()
- Retrieves the value for the reference
salesTaxType.
- Specified by:
getSalesTaxType in interface AbstractProduct
- Returns:
- The – possibly
null – value for this reference.
setSalesTaxType
void setSalesTaxType(SalesTaxType salesTaxType)
- Sets a new value for the reference
salesTaxType.
- Specified by:
setSalesTaxType in interface AbstractProduct
- Parameters:
salesTaxType - The non-null new value for this reference.
This software is published under the BSD license. Copyright © 2003-2009, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.