org.opencrx.kernel.product1.jmi1
Interface Product
- All Superinterfaces:
- AbstractProduct, AddressContainer, AlertSender, Auditee, BasicObject, Cloneable, ContextCapable, ContractPositionConstrained, Creatable, CrxObject, DepotReferenceHolder, DescriptionContainer, Exporter, ExtentCapable, Importer, Indexed, Modifiable, Pictured, Product, ProductConfigurationSet, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, SecureObject
- All Known Subinterfaces:
- Asset
public interface Product
- extends Product, DescriptionContainer, Pictured, AbstractProduct, ProductConfigurationSet
Class Product
|
Method Summary |
void |
addProductPhase(boolean idIsPersistent,
String id,
ProductPhase productPhase)
Adds the specified element to the set of the values for the reference productPhase. |
void |
addProductPhase(ProductPhase productPhase)
Adds the specified element to the set of the values for the reference productPhase using an implementation-specific, reassignable qualifier. |
void |
addProductPhase(String id,
ProductPhase productPhase)
Adds the specified element to the set of the values for the reference productPhase using a reassignable qualifier. |
void |
addRelatedProduct(boolean idIsPersistent,
String id,
RelatedProduct relatedProduct)
Adds the specified element to the set of the values for the reference relatedProduct. |
void |
addRelatedProduct(RelatedProduct relatedProduct)
Adds the specified element to the set of the values for the reference relatedProduct using an implementation-specific, reassignable qualifier. |
void |
addRelatedProduct(String id,
RelatedProduct relatedProduct)
Adds the specified element to the set of the values for the reference relatedProduct using a reassignable qualifier. |
ProductPhase |
getProductPhase(boolean idIsPersistent,
String id)
Retrieves the value for the reference productPhase for the specified qualifier attribute value. |
|
getProductPhase(ProductPhaseQuery query)
Retrieves the value for the reference productPhase for the specified query. |
ProductPhase |
getProductPhase(String id)
Retrieves the value for the reference productPhase for the specified qualifier attribute value. |
RelatedProduct |
getRelatedProduct(boolean idIsPersistent,
String id)
Retrieves the value for the reference relatedProduct for the specified qualifier attribute value. |
|
getRelatedProduct(RelatedProductQuery query)
Retrieves the value for the reference relatedProduct for the specified query. |
RelatedProduct |
getRelatedProduct(String id)
Retrieves the value for the reference relatedProduct for the specified qualifier attribute value. |
Void |
setConfigurationType(SetConfigurationTypeParams in)
|
| Methods inherited from interface org.opencrx.kernel.product1.cci2.Product |
getGrossWeightKilogram, getNetWeightKilogram, getProductDimension, getProductPhase, getRelatedProduct, isStockItem, setConfigurationType, setGrossWeightKilogram, setNetWeightKilogram, setProductDimension, setStockItem |
| Methods inherited from interface org.opencrx.kernel.product1.jmi1.AbstractProduct |
addAssignedAccount, addAssignedAccount, addAssignedAccount, addBasePrice, addBasePrice, addBasePrice, getAlternateProductNumber, getAssignedAccount, getAssignedAccount, getAssignedAccount, getBasePrice, getBasePrice, getBasePrice, getDefaultPriceLevel, getDefaultUom, getProductUsage, getSalesTaxType, setAlternateProductNumber, setDefaultPriceLevel, setDefaultUom, setProductUsage, setSalesTaxType |
| 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.jmi1.CrxObject |
addAdditionalExternalLink, addAdditionalExternalLink, addAdditionalExternalLink, addAttachedDocument, addAttachedDocument, addAttachedDocument, addDocumentFolderAssignment, addDocumentFolderAssignment, addDocumentFolderAssignment, addMedia, addMedia, addMedia, addNote, addNote, addNote, addPropertySet, addPropertySet, addPropertySet, addRating, 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.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, setOwner, 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, setOwner, 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 |
getProductPhase
<T extends ProductPhase> List<T> getProductPhase(ProductPhaseQuery query)
- Retrieves the value for the reference
productPhase 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.
getProductPhase
ProductPhase getProductPhase(boolean idIsPersistent,
String id)
- Retrieves the value for the reference
productPhase 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
getProductPhase
ProductPhase getProductPhase(String id)
- Retrieves the value for the reference
productPhase for the specified qualifier attribute value.
This method is equivalent to the preferred invocation getProductPhase(false,id).
- Parameters:
id - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this qualifier
addProductPhase
void addProductPhase(boolean idIsPersistent,
String id,
ProductPhase productPhase)
- Adds the specified element to the set of the values for the reference
productPhase.
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.productPhase - The element to be appended.
addProductPhase
void addProductPhase(String id,
ProductPhase productPhase)
- Adds the specified element to the set of the values for the reference
productPhase 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.productPhase - The element to be appended.
addProductPhase
void addProductPhase(ProductPhase productPhase)
- Adds the specified element to the set of the values for the reference
productPhase using an implementation-specific, reassignable qualifier.
Note: This is an extension to the JMI 1 standard.
- Parameters:
productPhase - The element to be appended.
getRelatedProduct
<T extends RelatedProduct> List<T> getRelatedProduct(RelatedProductQuery query)
- Retrieves the value for the reference
relatedProduct 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.
getRelatedProduct
RelatedProduct getRelatedProduct(boolean idIsPersistent,
String id)
- Retrieves the value for the reference
relatedProduct 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
getRelatedProduct
RelatedProduct getRelatedProduct(String id)
- Retrieves the value for the reference
relatedProduct for the specified qualifier attribute value.
This method is equivalent to the preferred invocation getRelatedProduct(false,id).
- Parameters:
id - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this qualifier
addRelatedProduct
void addRelatedProduct(boolean idIsPersistent,
String id,
RelatedProduct relatedProduct)
- Adds the specified element to the set of the values for the reference
relatedProduct.
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.relatedProduct - The element to be appended.
addRelatedProduct
void addRelatedProduct(String id,
RelatedProduct relatedProduct)
- Adds the specified element to the set of the values for the reference
relatedProduct 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.relatedProduct - The element to be appended.
addRelatedProduct
void addRelatedProduct(RelatedProduct relatedProduct)
- Adds the specified element to the set of the values for the reference
relatedProduct using an implementation-specific, reassignable qualifier.
Note: This is an extension to the JMI 1 standard.
- Parameters:
relatedProduct - The element to be appended.
setConfigurationType
Void setConfigurationType(SetConfigurationTypeParams in)
This software is published under the BSD license. Copyright © 2003-2010, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.