org.opencrx.kernel.product1.cci2
Interface Product

All Superinterfaces:
AbstractProduct, AddressContainer, AlertSender, Auditee, org.openmdx.base.cci2.BasicObject, Cloneable, org.openmdx.base.cci2.ContextCapable, ContractPositionConstrained, CrxObject, DepotReferenceHolder, DescriptionContainer, org.openmdx.base.cci2.ExtentCapable, Importer, Indexed, Pictured, ProductConfigurationSet, SecureObject, SubscriptionTarget, org.openmdx.compatibility.view1.cci2.ViewCapable, XmlExporter
All Known Subinterfaces:
Asset, Asset, Product
All Known Implementing Classes:
Asset, Product

public interface Product
extends DescriptionContainer, Pictured, AbstractProduct, ProductConfigurationSet

Class Product


Nested Class Summary
static interface Product.Identity
          Object Identity
 
Method Summary
 BigDecimal getGrossWeightKilogram()
           
 BigDecimal getNetWeightKilogram()
           
 String getProductDimension()
           
<T extends RelatedProduct>
Collection<T>
getRelatedProduct()
          Retrieves a set containing all the elements for the reference relatedProduct.
 Boolean isStockItem()
           
<T extends org.openmdx.base.cci2.Void>
T
setConfigurationType(ProductConfigurationTypeSet configurationType)
           
 void setGrossWeightKilogram(BigDecimal grossWeightKilogram)
          Sets a new value for the attribute grossWeightKilogram.
 void setNetWeightKilogram(BigDecimal netWeightKilogram)
          Sets a new value for the attribute netWeightKilogram.
 void setProductDimension(String productDimension)
          Sets a new value for the attribute productDimension.
 void setSegment(Segment segment)
          Sets a new value for the reference segment.
 void setSegment(Segment segment, boolean idIsPersistent, String id)
          Set the object's composite association org:opencrx:kernel:product1:SegmentContainsProduct.
 void setStockItem(Boolean isStockItem)
          Sets a new value for the attribute isStockItem.
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.DescriptionContainer
getAdditionalDescription
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.Pictured
getPicture, getPictureContent, getPictureContentMimeType, getPictureContentName, setPicture
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.AbstractProduct
getAlternateProductNumber, getAssignedAccount, getBasePrice, getClassification, getDefaultPriceLevel, getDefaultUom, getDescription, getDetailedDescription, getName, getPriceUom, getProductNumber, getProductState, getProductUsage, getSalesTaxType, setAlternateProductNumber, setDefaultPriceLevel, setDefaultUom, setDescription, setDetailedDescription, setName, setProductNumber, setProductState, setProductUsage, setSalesTaxType
 
Methods inherited from interface org.opencrx.kernel.depot1.cci2.DepotReferenceHolder
getDepotReference
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject
getAdditionalExternalLink, getAttachedDocument, getCategory, getDisabledReason, getExternalLink, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserBoolean4, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, 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.AlertSender
sendAlert
 
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.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SubscriptionTarget
addSubscription, addSubscriptionForParent, removeSubscription, removeSubscriptionForParent
 
Methods inherited from interface org.opencrx.kernel.base.cci2.XmlExporter
exportXml
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.AddressContainer
getAddress
 
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.product1.cci2.ProductConfigurationSet
getConfigType, getConfiguration, unsetConfigurationType
 

Method Detail

getGrossWeightKilogram

BigDecimal getGrossWeightKilogram()
Returns:
The possibly null value for attribute grossWeightKilogram.

setGrossWeightKilogram

void setGrossWeightKilogram(BigDecimal grossWeightKilogram)
Sets a new value for the attribute grossWeightKilogram.

Parameters:
grossWeightKilogram - The possibly null new value for attribute grossWeightKilogram.

isStockItem

Boolean isStockItem()
Returns:
The possibly null value for attribute isStockItem.

setStockItem

void setStockItem(Boolean isStockItem)
Sets a new value for the attribute isStockItem.

Parameters:
isStockItem - The possibly null new value for attribute isStockItem.

getNetWeightKilogram

BigDecimal getNetWeightKilogram()
Returns:
The possibly null value for attribute netWeightKilogram.

setNetWeightKilogram

void setNetWeightKilogram(BigDecimal netWeightKilogram)
Sets a new value for the attribute netWeightKilogram.

Parameters:
netWeightKilogram - The possibly null new value for attribute netWeightKilogram.

getProductDimension

String getProductDimension()
Returns:
The possibly null value for attribute productDimension.

setProductDimension

void setProductDimension(String productDimension)
Sets a new value for the attribute productDimension.

Parameters:
productDimension - The possibly null new value for attribute productDimension.

getRelatedProduct

<T extends RelatedProduct> Collection<T> getRelatedProduct()
Retrieves a set containing all the elements for the reference relatedProduct.

Returns:
A set containing all the elements for this reference.

setConfigurationType

<T extends org.openmdx.base.cci2.Void> T setConfigurationType(ProductConfigurationTypeSet configurationType)
                                                          throws RefException
Throws:
RefException

setSegment

void setSegment(Segment segment)
Sets a new value for the reference segment.

Parameters:
segment - The non-null new value for this reference.

setSegment

void setSegment(Segment segment,
                boolean idIsPersistent,
                String id)
Set the object's composite association org:opencrx:kernel:product1:SegmentContainsProduct.

Parameters:
segment - The non-null new value for this object's composite owner.
idIsPersistent - Defines whether the id is persistent.
id - The non-null new value for this object's qualifier.


This software is published under the BSD license. Copyright © 2003-2007, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.