|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.oasisopen.jdo2.Identifiable
org.w3c.jdo2.AbstractObject
org.opencrx.kernel.product1.jdo2.Product
public class Product
Class Product
| Nested Class Summary | |
|---|---|
static class |
Product.Identity
The object's application identity |
static class |
Product.Slice
Slice object hold the Product's multivalued
attributes |
| Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject |
|---|
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::Product |
| Constructor Summary | |
|---|---|
Product()
|
|
| Method Summary | ||
|---|---|---|
void |
addAdditionalDescription(boolean idIsPersistent,
String id,
Description additionalDescription)
Adds the specified element to the set of the values for the reference additionalDescription. |
|
void |
addAdditionalExternalLink(boolean idIsPersistent,
String id,
AdditionalExternalLink additionalExternalLink)
Adds the specified element to the set of the values for the reference additionalExternalLink. |
|
void |
addAddress(boolean idIsPersistent,
String id,
ProductAddress address)
Adds the specified element to the set of the values for the reference address. |
|
void |
addAssignedAccount(boolean idIsPersistent,
String id,
AccountAssignmentProduct assignedAccount)
Adds the specified element to the set of the values for the reference assignedAccount. |
|
void |
addAttachedDocument(boolean idIsPersistent,
String id,
DocumentAttachment attachedDocument)
Adds the specified element to the set of the values for the reference attachedDocument. |
|
void |
addBasePrice(boolean idIsPersistent,
String id,
ProductBasePrice basePrice)
Adds the specified element to the set of the values for the reference basePrice. |
|
void |
addConfiguration(boolean idIsPersistent,
String id,
ProductConfiguration configuration)
Adds the specified element to the set of the values for the reference configuration. |
|
void |
addDepotReference(boolean idIsPersistent,
String id,
DepotReference depotReference)
Adds the specified element to the set of the values for the reference depotReference. |
|
void |
addMedia(boolean idIsPersistent,
String id,
Media media)
Adds the specified element to the set of the values for the reference media. |
|
void |
addNote(boolean idIsPersistent,
String id,
Note note)
Adds the specified element to the set of the values for the reference note. |
|
ModifySecureObjectResult |
addOwningGroup(PrincipalGroup group,
short mode)
|
|
void |
addProductPhase(boolean idIsPersistent,
String id,
ProductPhase productPhase)
Adds the specified element to the set of the values for the reference productPhase. |
|
void |
addPropertySet(boolean idIsPersistent,
String id,
PropertySet propertySet)
Adds the specified element to the set of the values for the reference propertySet. |
|
void |
addRating(boolean idIsPersistent,
String id,
Rating rating)
Adds the specified element to the set of the values for the reference rating. |
|
void |
addRelatedProduct(boolean idIsPersistent,
String id,
RelatedProduct relatedProduct)
Adds the specified element to the set of the values for the reference relatedProduct. |
|
void |
addToSegment(Segment segment)
Sets a new value for the reference segment. |
|
void |
addToSegment(Segment segment,
boolean idIsPersistent,
String id)
Set the object's composite association org:opencrx:kernel:product1:SegmentContainsProduct. |
|
CheckPermissionsResult |
checkPermissions(String principalName)
|
|
CloneResult |
clone_(String referenceFilter)
|
|
ExportResult |
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. |
|
Date |
getActiveOn()
Retrieves the possibly null value for the optional attribute activeOn. |
|
|
getAdditionalDescription()
Retrieves a set containing all the elements for the reference additionalDescription. |
|
Description |
getAdditionalDescription(boolean idIsPersistent,
String id)
Retrieves the value for the reference additionalDescription for the specified qualifier
attribute value. |
|
|
getAdditionalExternalLink()
Retrieves a set containing all the elements for the reference additionalExternalLink. |
|
AdditionalExternalLink |
getAdditionalExternalLink(boolean idIsPersistent,
String id)
Retrieves the value for the reference additionalExternalLink for the specified qualifier
attribute value. |
|
|
getAddress()
Retrieves a set containing all the elements for the reference address. |
|
ProductAddress |
getAddress(boolean idIsPersistent,
String id)
Retrieves the value for the reference address for the
specified qualifier attribute value. |
|
List<String> |
getAlternateProductNumber()
Retrieves a list containing all the elements for the attribute alternateProductNumber. |
|
|
getAssignedAccount()
Retrieves a set containing all the elements for the reference assignedAccount. |
|
AccountAssignmentProduct |
getAssignedAccount(boolean idIsPersistent,
String id)
Retrieves the value for the reference assignedAccount for
the specified qualifier attribute value. |
|
|
getAttachedDocument()
Retrieves a set containing all the elements for the reference attachedDocument. |
|
DocumentAttachment |
getAttachedDocument(boolean idIsPersistent,
String id)
Retrieves the value for the reference attachedDocument for
the specified qualifier attribute value. |
|
|
getAudit()
Retrieves a set containing all the elements for the reference audit. |
|
AuditEntry |
getAudit(boolean idIsPersistent,
String id)
Retrieves the value for the reference audit for the
specified qualifier attribute value. |
|
|
getBasePrice()
Retrieves a set containing all the elements for the reference basePrice. |
|
ProductBasePrice |
getBasePrice(boolean idIsPersistent,
String id)
Retrieves the value for the reference basePrice for the
specified qualifier attribute value. |
|
List<String> |
getCategory()
Retrieves a list containing all the elements for the attribute category. |
|
|
getClassification()
Retrieves the Collection of objects referenced by
classification. |
|
ProductConfigurationTypeSet |
getConfigType()
Retrieves the value for the reference configType. |
|
|
getConfiguration()
Retrieves a set containing all the elements for the reference configuration. |
|
ProductConfiguration |
getConfiguration(boolean idIsPersistent,
String id)
Retrieves the value for the reference configuration for
the specified qualifier attribute value. |
|
Date |
getCreatedAt()
Retrieves the value for the attribute createdAt. |
|
Set<String> |
getCreatedBy()
Retrieves a set containing all the elements for the attribute createdBy. |
|
Integer |
getDefaultPositions()
Retrieves the possibly null value for the optional attribute defaultPositions. |
|
AbstractPriceLevel |
getDefaultPriceLevel()
Retrieves the value for the reference defaultPriceLevel. |
|
BigDecimal |
getDefaultQuantity()
Retrieves the possibly null value for the optional attribute defaultQuantity. |
|
Uom |
getDefaultUom()
Retrieves the value for the reference defaultUom. |
|
|
getDepotReference()
Retrieves a set containing all the elements for the reference depotReference. |
|
DepotReference |
getDepotReference(boolean idIsPersistent,
String id)
Retrieves the value for the reference depotReference for
the specified qualifier attribute value. |
|
String |
getDescription()
Retrieves the possibly null value for the optional attribute description. |
|
String |
getDetailedDescription()
Retrieves the possibly null value for the optional attribute detailedDescription. |
|
String |
getDisabledReason()
Retrieves the possibly null value for the optional attribute disabledReason. |
|
Date |
getExpiresOn()
Retrieves the possibly null value for the optional attribute expiresOn. |
|
List<String> |
getExternalLink()
Retrieves a list containing all the elements for the attribute externalLink. |
|
BigDecimal |
getGrossWeightKilogram()
Retrieves the possibly null value for the optional attribute grossWeightKilogram. |
|
String |
getIdentity()
Retrieves the value for the attribute identity. |
|
|
getIndexEntry()
Retrieves a set containing all the elements for the reference indexEntry. |
|
IndexEntry |
getIndexEntry(boolean idIsPersistent,
String id)
Retrieves the value for the reference indexEntry for the
specified qualifier attribute value. |
|
long |
getItemNumber()
Retrieves the value for the attribute itemNumber. |
|
Integer |
getMaxPositions()
Retrieves the possibly null value for the optional attribute maxPositions. |
|
BigDecimal |
getMaxQuantity()
Retrieves the possibly null value for the optional attribute maxQuantity. |
|
|
getMedia()
Retrieves a set containing all the elements for the reference media. |
|
Media |
getMedia(boolean idIsPersistent,
String id)
Retrieves the value for the reference media for the
specified qualifier attribute value. |
|
short |
getMinMaxQuantityHandling()
Retrieves the value for the attribute minMaxQuantityHandling. |
|
Integer |
getMinPositions()
Retrieves the possibly null value for the optional attribute minPositions. |
|
BigDecimal |
getMinQuantity()
Retrieves the possibly null value for the optional attribute minQuantity. |
|
Date |
getModifiedAt()
Retrieves the value for the attribute modifiedAt. |
|
Set<String> |
getModifiedBy()
Retrieves a set containing all the elements for the attribute modifiedBy. |
|
String |
getName()
Retrieves the value for the attribute name. |
|
BigDecimal |
getNetWeightKilogram()
Retrieves the possibly null value for the optional attribute netWeightKilogram. |
|
|
getNote()
Retrieves a set containing all the elements for the reference note. |
|
Note |
getNote(boolean idIsPersistent,
String id)
Retrieves the value for the reference note for the
specified qualifier attribute value. |
|
BigDecimal |
getOffsetQuantity()
Retrieves the possibly null value for the optional attribute offsetQuantity. |
|
List<String> |
getOwner()
Retrieves a list containing all the elements for the attribute owner. |
|
|
getOwningGroup()
Retrieves the Collection of objects referenced by
owningGroup. |
|
User |
getOwningUser()
Retrieves the value for the reference owningUser. |
|
Media |
getPicture()
Retrieves the value for the reference picture. |
|
byte[] |
getPictureContent()
Retrieves the possibly null value for the optional attribute pictureContent. |
|
String |
getPictureContentMimeType()
Retrieves the possibly null value for the optional attribute pictureContentMimeType. |
|
String |
getPictureContentName()
Retrieves the possibly null value for the optional attribute pictureContentName. |
|
|
getPriceUom()
Retrieves the Collection of objects referenced by
priceUom. |
|
String |
getProductDimension()
Retrieves the possibly null value for the optional attribute productDimension. |
|
String |
getProductNumber()
Retrieves the value for the attribute productNumber. |
|
|
getProductPhase()
Retrieves a set containing all the elements for the reference productPhase. |
|
ProductPhase |
getProductPhase(boolean idIsPersistent,
String id)
Retrieves the value for the reference productPhase for the
specified qualifier attribute value. |
|
short |
getProductState()
Retrieves the value for the attribute productState. |
|
ActivityTracker |
getProductUsage()
Retrieves the value for the reference productUsage. |
|
|
getPropertySet()
Retrieves a set containing all the elements for the reference propertySet. |
|
PropertySet |
getPropertySet(boolean idIsPersistent,
String id)
Retrieves the value for the reference propertySet for the
specified qualifier attribute value. |
|
|
getPropertySetEntry()
Retrieves a set containing all the elements for the reference propertySetEntry. |
|
PropertySetEntry |
getPropertySetEntry(boolean idIsPersistent,
String id)
Retrieves the value for the reference propertySetEntry for
the specified qualifier attribute value. |
|
|
getRating()
Retrieves a set containing all the elements for the reference rating. |
|
Rating |
getRating(boolean idIsPersistent,
String id)
Retrieves the value for the reference rating for the
specified qualifier attribute value. |
|
|
getRelatedProduct()
Retrieves a set containing all the elements for the reference relatedProduct. |
|
RelatedProduct |
getRelatedProduct(boolean idIsPersistent,
String id)
Retrieves the value for the reference relatedProduct for
the specified qualifier attribute value. |
|
SalesTaxType |
getSalesTaxType()
Retrieves the value for the reference salesTaxType. |
|
List<Boolean> |
getUserBoolean4()
Retrieves a list containing all the elements for the attribute userBoolean4. |
|
Short |
getUserCode0()
Retrieves the possibly null value for the optional attribute userCode0. |
|
Short |
getUserCode1()
Retrieves the possibly null value for the optional attribute userCode1. |
|
Short |
getUserCode2()
Retrieves the possibly null value for the optional attribute userCode2. |
|
Short |
getUserCode3()
Retrieves the possibly null value for the optional attribute userCode3. |
|
List<Short> |
getUserCode4()
Retrieves a list containing all the elements for the attribute userCode4. |
|
javax.xml.datatype.XMLGregorianCalendar |
getUserDate0()
Retrieves the possibly null value for the optional attribute userDate0. |
|
javax.xml.datatype.XMLGregorianCalendar |
getUserDate1()
Retrieves the possibly null value for the optional attribute userDate1. |
|
javax.xml.datatype.XMLGregorianCalendar |
getUserDate2()
Retrieves the possibly null value for the optional attribute userDate2. |
|
javax.xml.datatype.XMLGregorianCalendar |
getUserDate3()
Retrieves the possibly null value for the optional attribute userDate3. |
|
List<javax.xml.datatype.XMLGregorianCalendar> |
getUserDate4()
Retrieves a list containing all the elements for the attribute userDate4. |
|
Date |
getUserDateTime0()
Retrieves the possibly null value for the optional attribute userDateTime0. |
|
Date |
getUserDateTime1()
Retrieves the possibly null value for the optional attribute userDateTime1. |
|
Date |
getUserDateTime2()
Retrieves the possibly null value for the optional attribute userDateTime2. |
|
Date |
getUserDateTime3()
Retrieves the possibly null value for the optional attribute userDateTime3. |
|
List<Date> |
getUserDateTime4()
Retrieves a list containing all the elements for the attribute userDateTime4. |
|
BigDecimal |
getUserNumber0()
Retrieves the possibly null value for the optional attribute userNumber0. |
|
BigDecimal |
getUserNumber1()
Retrieves the possibly null value for the optional attribute userNumber1. |
|
BigDecimal |
getUserNumber2()
Retrieves the possibly null value for the optional attribute userNumber2. |
|
BigDecimal |
getUserNumber3()
Retrieves the possibly null value for the optional attribute userNumber3. |
|
List<BigDecimal> |
getUserNumber4()
Retrieves a list containing all the elements for the attribute userNumber4. |
|
String |
getUserString0()
Retrieves the possibly null value for the optional attribute userString0. |
|
String |
getUserString1()
Retrieves the possibly null value for the optional attribute userString1. |
|
String |
getUserString2()
Retrieves the possibly null value for the optional attribute userString2. |
|
String |
getUserString3()
Retrieves the possibly null value for the optional attribute userString3. |
|
List<String> |
getUserString4()
Retrieves a list containing all the elements for the attribute userString4. |
|
|
getView()
Retrieves a set containing all the elements for the reference view. |
|
org.openmdx.compatibility.view1.cci2.View |
getView(boolean namespaceIsPersistent,
String namespace)
Retrieves the value for the reference view for the
specified qualifier attribute value. |
|
ImportResult |
importItem(byte[] item,
String itemMimeType,
String itemName,
short locale)
|
|
Boolean |
isAllowModification()
Retrieves the possibly null value for the optional attribute allowModification. |
|
Boolean |
isAllowRemoval()
Retrieves the possibly null value for the optional attribute allowRemoval. |
|
Boolean |
isDisabled()
Retrieves the possibly null value for the optional attribute disabled. |
|
Boolean |
isStockItem()
Retrieves the possibly null value for the optional attribute isStockItem. |
|
Boolean |
isUserBoolean0()
Retrieves the possibly null value for the optional attribute userBoolean0. |
|
Boolean |
isUserBoolean1()
Retrieves the possibly null value for the optional attribute userBoolean1. |
|
Boolean |
isUserBoolean2()
Retrieves the possibly null value for the optional attribute userBoolean2. |
|
Boolean |
isUserBoolean3()
Retrieves the possibly null value for the optional attribute userBoolean3. |
|
static Product.Identity |
newIdentity(org.openmdx.base.cci2.Segment.Identity segment,
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<Product> |
openmdxjdoGetObjectsByParent(Segment segment)
Navigate through an object's composite association |
|
protected int |
openmdxjdoGetSize(int field)
|
|
protected
|
openmdxjdoGetSlices()
|
|
protected void |
openmdxjdoSetSize(int field,
int size)
|
|
static Product.Identity |
openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
|
|
ModifySecureObjectResult |
removeAllOwningGroup(short mode)
|
|
ModifySecureObjectResult |
removeOwningGroup(PrincipalGroup group,
short mode)
|
|
org.openmdx.base.cci2.Void |
sendAlert(String description,
short importance,
String name,
org.openmdx.base.cci2.BasicObject reference,
Integer resendDelayInSeconds,
String toUsers)
|
|
ModifySecureObjectResult |
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 |
setActiveOn(Date activeOn)
Sets a new value for the attribute activeOn. |
|
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)
Clears alternateProductNumber and adds the given value(s). |
|
void |
setCategory(String... category)
Clears category and adds the given value(s). |
|
org.openmdx.base.cci2.Void |
setConfigurationType(ProductConfigurationTypeSet configurationType)
|
|
void |
setDefaultPositions(Integer defaultPositions)
Sets a new value for the attribute defaultPositions. |
|
void |
setDefaultPriceLevel(AbstractPriceLevel 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 |
setExpiresOn(Date expiresOn)
Sets a new value for the attribute expiresOn. |
|
void |
setExternalLink(String... externalLink)
Clears externalLink and adds the given value(s). |
|
void |
setGrossW | |