org.opencrx.kernel.product1.jdo2
Class BundledProduct

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.product1.jdo2.BundledProduct
All Implemented Interfaces:
Serializable, AlertSender, Auditee, Cloneable, Importer, Indexed, SecureObject, SubscriptionTarget, XmlExporter, DepotReferenceHolder, CrxObject, AbstractBundledProduct, AbstractProduct, AddressContainer, BundledProduct, ConfiguredProduct, ContractPositionConstrained, PriceOverrideEnabled, ProductConfigurationSet, ProductDescriptor, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable

public class BundledProduct
extends org.w3c.jdo2.AbstractObject
implements BundledProduct

Class BundledProduct

See Also:
Serialized Form

Nested Class Summary
static class BundledProduct.Identity
          The object's application identity
static class BundledProduct.Slice
           
 
Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject
org.w3c.jdo2.AbstractObject.BLOB, org.w3c.jdo2.AbstractObject.CLOB, org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E>
 
Field Summary
static List<String> BASE_CLASS
          Define this class as base class
static List<String> CLASS
          Define the model class org::opencrx::kernel::product1::BundledProduct
 
Constructor Summary
BundledProduct()
           
 
Method Summary
<T extends ModifySecureObjectResult>
T
addOwningGroup(PrincipalGroup group, short mode)
           
<T extends org.openmdx.base.cci2.Void>
T
addSubscription()
           
<T extends org.openmdx.base.cci2.Void>
T
addSubscriptionForParent()
           
<T extends org.openmdx.base.cci2.Void>
T
assignProduct(Product product)
           
<T extends CloneResult>
T
clone_(String referenceFilter)
           
<T extends ExportResult>
T
exportXml(String attributeFilter, String referenceFilter)
           
 org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
          Retrieves the value for the reference accessGrantedByParent.
 short getAccessLevelBrowse()
          Retrieves the value for the attribute accessLevelBrowse.
 short getAccessLevelDelete()
          Retrieves the value for the attribute accessLevelDelete.
 short getAccessLevelUpdate()
          Retrieves the value for the attribute accessLevelUpdate.
<T extends AdditionalExternalLink>
Collection<T>
getAdditionalExternalLink()
          Retrieves a set containing all the elements for the reference additionalExternalLink.
<T extends ProductAddress>
Collection<T>
getAddress()
          Retrieves a set containing all the elements for the reference address.
 List<String> getAlternateProductNumber()
           
<T extends AccountAssignmentProduct>
Collection<T>
getAssignedAccount()
          Retrieves a set containing all the elements for the reference assignedAccount.
<T extends DocumentAttachment>
Collection<T>
getAttachedDocument()
          Retrieves a set containing all the elements for the reference attachedDocument.
<T extends AuditEntry>
Collection<T>
getAudit()
          Retrieves a set containing all the elements for the reference audit.
<T extends ProductBasePrice>
Collection<T>
getBasePrice()
          Retrieves a set containing all the elements for the reference basePrice.
 List<String> getCategory()
           
<T extends ProductClassification>
List<T>
getClassification()
          Retrieves the Collection of objects referenced by classification.
 ProductConfigurationTypeSet getConfigType()
          Retrieves the value for the reference configType.
<T extends ProductConfiguration>
Collection<T>
getConfiguration()
          Retrieves a set containing all the elements for the reference configuration.
 Date getCreatedAt()
          Retrieves the value for the attribute createdAt.
 Set<String> getCreatedBy()
           
 ProductConfiguration getCurrentConfig()
          Retrieves the value for the reference currentConfig.
 Integer getDefaultPositions()
           
 PriceLevel getDefaultPriceLevel()
          Retrieves the value for the reference defaultPriceLevel.
 BigDecimal getDefaultQuantity()
           
 Uom getDefaultUom()
          Retrieves the value for the reference defaultUom.
<T extends DepotReference>
Collection<T>
getDepotReference()
          Retrieves a set containing all the elements for the reference depotReference.
 String getDescription()
           
 String getDetailedDescription()
           
 String getDisabledReason()
           
 BigDecimal getDiscount()
           
 List<URI> getExternalLink()
           
 XRI getIdentity()
          Retrieves the value for the derived attribute identity.
<T extends IndexEntry>
Collection<T>
getIndexEntry()
          Retrieves a set containing all the elements for the reference indexEntry.
 long getItemNumber()
          Retrieves the value for the attribute itemNumber.
 Integer getMaxPositions()
           
 BigDecimal getMaxQuantity()
           
<T extends Media>
Collection<T>
getMedia()
          Retrieves a set containing all the elements for the reference media.
 short getMinMaxQuantityHandling()
          Retrieves the value for the attribute minMaxQuantityHandling.
 Integer getMinPositions()
           
 BigDecimal getMinQuantity()
           
 Date getModifiedAt()
          Retrieves the value for the attribute modifiedAt.
 Set<String> getModifiedBy()
           
 String getName()
          Retrieves the value for the attribute name.
<T extends Note>
Collection<T>
getNote()
          Retrieves a set containing all the elements for the reference note.
 BigDecimal getOffsetQuantity()
           
 List<String> getOwner()
           
<T extends PrincipalGroup>
List<T>
getOwningGroup()
          Retrieves the Collection of objects referenced by owningGroup.
 User getOwningUser()
          Retrieves the value for the reference owningUser.
<T extends Uom>
List<T>
getPriceUom()
          Retrieves the Collection of objects referenced by priceUom.
 PricingRule getPricingRule()
          Retrieves the value for the reference pricingRule.
 Product getProduct()
          Retrieves the value for the reference product.
 String getProductNumber()
          Retrieves the value for the attribute productNumber.
 Set<String> getProductSerialNumber()
           
 short getProductState()
          Retrieves the value for the attribute productState.
 ActivityTracker getProductUsage()
          Retrieves the value for the reference productUsage.
<T extends PropertySet>
Collection<T>
getPropertySet()
          Retrieves a set containing all the elements for the reference propertySet.
<T extends PropertySetEntry>
Collection<T>
getPropertySetEntry()
          Retrieves a set containing all the elements for the reference propertySetEntry.
<T extends Rating>
Collection<T>
getRating()
          Retrieves a set containing all the elements for the reference rating.
 SalesTaxType getSalesTaxType()
          Retrieves the value for the reference salesTaxType.
 BundledProductType getType()
          Retrieves the value for the reference type.
 List<Boolean> getUserBoolean4()
           
 Short getUserCode0()
           
 Short getUserCode1()
           
 Short getUserCode2()
           
 Short getUserCode3()
           
 List<Short> getUserCode4()
           
 javax.xml.datatype.XMLGregorianCalendar getUserDate0()
           
 javax.xml.datatype.XMLGregorianCalendar getUserDate1()
           
 javax.xml.datatype.XMLGregorianCalendar getUserDate2()
           
 javax.xml.datatype.XMLGregorianCalendar getUserDate3()
           
 List<javax.xml.datatype.XMLGregorianCalendar> getUserDate4()
           
 Date getUserDateTime0()
           
 Date getUserDateTime1()
           
 Date getUserDateTime2()
           
 Date getUserDateTime3()
           
 List<Date> getUserDateTime4()
           
 BigDecimal getUserNumber0()
           
 BigDecimal getUserNumber1()
           
 BigDecimal getUserNumber2()
           
 BigDecimal getUserNumber3()
           
 List<BigDecimal> getUserNumber4()
           
 String getUserString0()
           
 String getUserString1()
           
 String getUserString2()
           
 String getUserString3()
           
 List<String> getUserString4()
           
<T extends org.openmdx.compatibility.view1.cci2.View>
Collection<T>
getView()
          Retrieves a set containing all the elements for the reference view.
<T extends ImportResult>
T
importItem(byte[] item, String itemMimeType, String itemName, short locale)
           
 Boolean isAllowModification()
           
 Boolean isAllowRemoval()
           
 boolean isDisabled()
          Retrieves the value for the attribute disabled.
 Boolean isDiscountIsPercentage()
           
 Boolean isOverridePrice()
           
 Boolean isUserBoolean0()
           
 Boolean isUserBoolean1()
           
 Boolean isUserBoolean2()
           
 Boolean isUserBoolean3()
           
static BundledProduct.Identity newIdentity(ProductBundleType.Identity productBundleType, boolean idIsPersistent, String id)
           
protected  org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  String openmdxjdoGetObjectId()
          Retrieve the object's JDO identity key
static CloseableCollection<BundledProduct> openmdxjdoGetObjectsByParent(ProductBundleType productBundleType)
          Navigate through an object's composite association
protected  int openmdxjdoGetSize(int field)
           
protected
<E extends org.w3c.jdo2.AbstractObject.Slice>
SortedMap<Integer,E>
openmdxjdoGetSlices()
           
protected  void openmdxjdoSetSize(int field, int size)
           
<T extends ModifySecureObjectResult>
T
removeAllOwningGroup(short mode)
           
<T extends ModifySecureObjectResult>
T
removeOwningGroup(PrincipalGroup group, short mode)
           
<T extends org.openmdx.base.cci2.Void>
T
removeSubscription()
           
<T extends org.openmdx.base.cci2.Void>
T
removeSubscriptionForParent()
           
<T extends org.openmdx.base.cci2.Void>
T
sendAlert(String description, short importance, String name, org.openmdx.base.cci2.BasicObject reference, String toUsers)
           
<T extends ModifySecureObjectResult>
T
setAccessLevel(short accessLevelBrowse, short accessLevelDelete, short accessLevelUpdate, short mode)
           
 void setAccessLevelBrowse(short accessLevelBrowse)
          Sets a new value for the attribute accessLevelBrowse.
 void setAccessLevelDelete(short accessLevelDelete)
          Sets a new value for the attribute accessLevelDelete.
 void setAccessLevelUpdate(short accessLevelUpdate)
          Sets a new value for the attribute accessLevelUpdate.
 void setAllowModification(Boolean allowModification)
          Sets a new value for the attribute allowModification.
 void setAllowRemoval(Boolean allowRemoval)
          Sets a new value for the attribute allowRemoval.
 void setAlternateProductNumber(String... alternateProductNumber)
           This method is equivalent to
 void setCategory(String... category)
           This method is equivalent to
 void setCurrentConfig(ProductConfiguration currentConfig)
          Sets a new value for the reference currentConfig.
 void setDefaultPositions(Integer defaultPositions)
          Sets a new value for the attribute defaultPositions.
 void setDefaultPriceLevel(PriceLevel defaultPriceLevel)
          Sets a new value for the reference defaultPriceLevel.
 void setDefaultQuantity(BigDecimal defaultQuantity)
          Sets a new value for the attribute defaultQuantity.
 void setDefaultUom(Uom defaultUom)
          Sets a new value for the reference defaultUom.
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setDetailedDescription(String detailedDescription)
          Sets a new value for the attribute detailedDescription.
 void setDisabled(boolean disabled)
          Sets a new value for the attribute disabled.
 void setDisabledReason(String disabledReason)
          Sets a new value for the attribute disabledReason.
 void setDiscount(BigDecimal discount)
          Sets a new value for the attribute discount.
 void setDiscountIsPercentage(Boolean discountIsPercentage)
          Sets a new value for the attribute discountIsPercentage.
 void setExternalLink(URI... externalLink)
           This method is equivalent to
 void setItemNumber(long itemNumber)
          Sets a new value for the attribute itemNumber.
 void setMaxPositions(Integer maxPositions)
          Sets a new value for the attribute maxPositions.
 void setMaxQuantity(BigDecimal maxQuantity)
          Sets a new value for the attribute maxQuantity.
 void setMinMaxQuantityHandling(short minMaxQuantityHandling)
          Sets a new value for the attribute minMaxQuantityHandling.
 void setMinPositions(Integer minPositions)
          Sets a new value for the attribute minPositions.
 void setMinQuantity(BigDecimal minQuantity)
          Sets a new value for the attribute minQuantity.
 void setName(String name)
          Sets a new value for the attribute name.
 void setOffsetQuantity(BigDecimal offsetQuantity)
          Sets a new value for the attribute offsetQuantity.
 void setOverridePrice(Boolean overridePrice)
          Sets a new value for the attribute overridePrice.
<T extends ModifySecureObjectResult>
T
setOwningUser(short mode, User user)
           
 void setOwningUser(User owningUser)
          Sets a new value for the reference owningUser.
 void setPricingRule(PricingRule pricingRule)
          Sets a new value for the reference pricingRule.
 void setProduct(Product product)
          Sets a new value for the reference product.
 void setProductBundleType(ProductBundleType productBundleType)
          Sets a new value for the reference productBundleType.
 void setProductBundleType(ProductBundleType productBundleType, boolean idIsPersistent, String id)
          Set the object's composite association org:opencrx:kernel:product1:ProductBundleTypeContainsProduct.
 void setProductNumber(String productNumber)
          Sets a new value for the attribute productNumber.
 void setProductSerialNumber(String... productSerialNumber)
           This method is equivalent to
 void setProductState(short productState)
          Sets a new value for the attribute productState.
 void setProductUsage(ActivityTracker productUsage)
          Sets a new value for the reference productUsage.
 void setSalesTaxType(SalesTaxType salesTaxType)
          Sets a new value for the reference salesTaxType.
 void setType(BundledProductType type)
          Sets a new value for the reference type.
 void setUserBoolean0(Boolean userBoolean0)
          Sets a new value for the attribute userBoolean0.
 void setUserBoolean1(Boolean userBoolean1)
          Sets a new value for the attribute userBoolean1.
 void setUserBoolean2(Boolean userBoolean2)
          Sets a new value for the attribute userBoolean2.
 void setUserBoolean3(Boolean userBoolean3)
          Sets a new value for the attribute userBoolean3.
 void setUserBoolean4(boolean... userBoolean4)
           This method is equivalent to
 void setUserCode0(Short userCode0)
          Sets a new value for the attribute userCode0.
 void setUserCode1(Short userCode1)
          Sets a new value for the attribute userCode1.
 void setUserCode2(Short userCode2)
          Sets a new value for the attribute userCode2.
 void setUserCode3(Short userCode3)
          Sets a new value for the attribute userCode3.
 void setUserCode4(short... userCode4)
           This method is equivalent to
 void setUserDate0(javax.xml.datatype.XMLGregorianCalendar userDate0)
          Sets a new value for the attribute userDate0.
 void setUserDate1(javax.xml.datatype.XMLGregorianCalendar userDate1)
          Sets a new value for the attribute userDate1.
 void setUserDate2(javax.xml.datatype.XMLGregorianCalendar userDate2)
          Sets a new value for the attribute userDate2.
 void setUserDate3(javax.xml.datatype.XMLGregorianCalendar userDate3)
          Sets a new value for the attribute userDate3.
 void setUserDate4(javax.xml.datatype.XMLGregorianCalendar... userDate4)
           This method is equivalent to
 void setUserDateTime0(Date userDateTime0)
          Sets a new value for the attribute userDateTime0.
 void setUserDateTime1(Date userDateTime1)
          Sets a new value for the attribute userDateTime1.
 void setUserDateTime2(Date userDateTime2)
          Sets a new value for the attribute userDateTime2.
 void setUserDateTime3(Date userDateTime3)
          Sets a new value for the attribute userDateTime3.
 void setUserDateTime4(Date... userDateTime4)
           This method is equivalent to
 void setUserNumber0(BigDecimal userNumber0)
          Sets a new value for the attribute userNumber0.
 void setUserNumber1(BigDecimal userNumber1)
          Sets a new value for the attribute userNumber1.
 void setUserNumber2(BigDecimal userNumber2)
          Sets a new value for the attribute userNumber2.
 void setUserNumber3(BigDecimal userNumber3)
          Sets a new value for the attribute userNumber3.
 void setUserNumber4(BigDecimal... userNumber4)
           This method is equivalent to
 void setUserString0(String userString0)
          Sets a new value for the attribute userString0.
 void setUserString1(String userString1)
          Sets a new value for the attribute userString1.
 void setUserString2(String userString2)
          Sets a new value for the attribute userString2.
 void setUserString3(String userString3)
          Sets a new value for the attribute userString3.
 void setUserString4(String... userString4)
           This method is equivalent to
<T extends org.openmdx.base.cci2.Void>
T
unsetConfigurationType()
           
<T extends org.openmdx.base.cci2.Void>
T
updateIndex()
           
 
Methods inherited from class org.w3c.jdo2.AbstractObject
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement