org.opencrx.kernel.product1.cci
Class PriceListEntryImpl

java.lang.Object
  extended by org.openmdx.base.accessor.jmi.spi.RefObject_1
      extended by org.opencrx.kernel.product1.cci.PriceListEntryImpl
All Implemented Interfaces:
Serializable, PersistenceCapable, RefBaseObject, RefFeatured, RefObject, SecureObject, AbstractProductPrice, PriceListEntry, RefObject_1_0, BasicObject, ContextCapable, ExtentCapable, ViewCapable

public class PriceListEntryImpl
extends RefObject_1
implements PriceListEntry

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.jdo.spi.PersistenceCapable
PersistenceCapable.ObjectIdFieldConsumer, PersistenceCapable.ObjectIdFieldManager, PersistenceCapable.ObjectIdFieldSupplier
 
Field Summary
 
Fields inherited from interface javax.jdo.spi.PersistenceCapable
CHECK_READ, CHECK_WRITE, LOAD_REQUIRED, MEDIATE_READ, MEDIATE_WRITE, READ_OK, READ_WRITE_OK, SERIALIZABLE
 
Constructor Summary
PriceListEntryImpl(Object_1_0 object, RefClass refClass)
           
 
Method Summary
protected  void addContext(Context newValue)
           
protected  void addContext(String id, Context newValue)
           
 void addOwningGroup(int index, PrincipalGroup newValue)
           
 ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams params)
           
 void addOwningGroup(PrincipalGroup newValue)
           
 ModifySecureObjectResult addOwningGroup(PrincipalGroup group, short mode)
           
 void addPriceLevel(int index, PriceLevel newValue)
           
 void addPriceLevel(PriceLevel newValue)
           
protected  void addView(String namespace, View newValue)
           
protected  void addView(View newValue)
           
 BasicObject getAccessGrantedByParent()
          Retrieves the value for the optional reference accessGrantedByParent.
 short getAccessLevelBrowse()
          Retrieves the value for the attribute accessLevelBrowse.
protected  short getAccessLevelBrowse(int index)
           
 short getAccessLevelDelete()
          Retrieves the value for the attribute accessLevelDelete.
protected  short getAccessLevelDelete(int index)
           
 short getAccessLevelUpdate()
          Retrieves the value for the attribute accessLevelUpdate.
protected  short getAccessLevelUpdate(int index)
           
 ProductBasePrice getBasePrice()
          Retrieves the value for the optional reference basePrice.
 Collection getContext()
          Retrieves the objects referenced by context.
 Context getContext(String id)
          Retrieves the value for the reference context for the specified qualifier attribute value.
 Date getCreatedAt()
          Retrieves the value for the attribute createdAt.
protected  Date getCreatedAt(int index)
           
 Set getCreatedBy()
           
 String getDescription()
           
 BigDecimal getDiscount()
           
 String getIdentity()
          Retrieves the value for the attribute identity.
protected  String getIdentity(int index)
           
 Date getModifiedAt()
          Retrieves the value for the attribute modifiedAt.
protected  Date getModifiedAt(int index)
           
 Set getModifiedBy()
           
 List getOwner()
           
 String getOwner(int index)
           
 Collection getOwningGroup()
          Retrieves the objects referenced by owningGroup.
 PrincipalGroup getOwningGroup(int index)
          Retrieves the value for the reference owningGroup for the specified qualifier attribute value.
 User getOwningUser()
          Retrieves the value for the optional reference owningUser.
 BigDecimal getPrice()
           
 short getPriceCurrency()
          Retrieves the value for the attribute priceCurrency.
protected  short getPriceCurrency(int index)
           
 Collection getPriceLevel()
          Retrieves the objects referenced by priceLevel.
 PriceLevel getPriceLevel(int index)
          Retrieves the value for the reference priceLevel for the specified qualifier attribute value.
 AbstractProduct getProduct()
          Retrieves the value for the optional reference product.
 String getProductDescription()
          Retrieves the value for the attribute productDescription.
protected  String getProductDescription(int index)
           
 String getProductName()
          Retrieves the value for the attribute productName.
protected  String getProductName(int index)
           
 BigDecimal getQuantityFrom()
           
 BigDecimal getQuantityTo()
           
 SalesTaxType getSalesTaxType()
          Retrieves the value for the optional reference salesTaxType.
 Uom getUom()
          Retrieves the value for the reference uom.
 List getUsage()
           
 short getUsage(int index)
           
 Collection getView()
          Retrieves a collection containing all the elements for the reference view.
 View getView(String namespace)
          Retrieves the value for the reference view for the specified qualifier attribute value.
 List getView(ViewFilter filter)
          Retrieves the value for the reference view for the specified filter.
 List getView(ViewQuery query)
          Retrieves the value for the reference view for the specified query.
 Boolean isDiscountIsPercentage()
           
protected  void removeAccessGrantedByParent()
           
 ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams params)
           
 ModifySecureObjectResult removeAllOwningGroup(short mode)
           
 void removeBasePrice()
          Removes the value for the optional reference basePrice.
protected  void removeContext(String id)
           
 void removeOwningGroup(int index)
           
 ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams params)
           
 ModifySecureObjectResult removeOwningGroup(PrincipalGroup group, short mode)
           
 void removeOwningUser()
          Removes the value for the optional reference owningUser.
 void removePriceLevel(int index)
           
protected  void removeProduct()
           
protected  void removeSalesTaxType()
           
protected  void removeView(String namespace)
           
protected  void setAccessGrantedByParent(BasicObject newValue)
           
 ModifySecureObjectResult setAccessLevel(SetAccessLevelParams params)
           
 ModifySecureObjectResult setAccessLevel(short accessLevelBrowse, short accessLevelDelete, short accessLevelUpdate, short mode)
           
protected  void setAccessLevelBrowse(int index, short newValue)
           
 void setAccessLevelBrowse(short newValue)
          Sets a new value for the attribute accessLevelBrowse.
protected  void setAccessLevelDelete(int index, short newValue)
           
 void setAccessLevelDelete(short newValue)
          Sets a new value for the attribute accessLevelDelete.
protected  void setAccessLevelUpdate(int index, short newValue)
           
 void setAccessLevelUpdate(short newValue)
          Sets a new value for the attribute accessLevelUpdate.
 void setBasePrice(ProductBasePrice newValue)
          Sets a new value for the reference basePrice.
protected  void setContext(Context[] newValue)
           
protected  void setContext(List newValue)
           
protected  void setCreatedAt(Date newValue)
           
protected  void setCreatedAt(int index, Date newValue)
           
protected  void setCreatedBy(Set newValue)
           
protected  void setCreatedBy(String[] newValue)
           
 void setDescription(String newValue)
          Sets a new value for the attribute description.
 void setDiscount(BigDecimal newValue)
          Sets a new value for the attribute discount.
 void setDiscountIsPercentage(Boolean newValue)
          Sets a new value for the attribute discountIsPercentage.
protected  void setIdentity(int index, String newValue)
           
protected  void setIdentity(String newValue)
           
protected  void setModifiedAt(Date newValue)
           
protected  void setModifiedAt(int index, Date newValue)
           
protected  void setModifiedBy(Set newValue)
           
protected  void setModifiedBy(String[] newValue)
           
protected  void setOwner(List newValue)
           
protected  void setOwner(String[] newValue)
           
 void setOwningGroup(List newValue)
           
 void setOwningGroup(PrincipalGroup[] newValue)
           
 ModifySecureObjectResult setOwningUser(SetOwningUserParams params)
           
 ModifySecureObjectResult setOwningUser(short mode, User user)
           
 void setOwningUser(User newValue)
          Sets a new value for the reference owningUser.
 void setPrice(BigDecimal newValue)
          Sets a new value for the attribute price.
protected  void setPriceCurrency(int index, short newValue)
           
 void setPriceCurrency(short newValue)
          Sets a new value for the attribute priceCurrency.
 void setPriceLevel(List newValue)
           
 void setPriceLevel(PriceLevel[] newValue)
           
protected  void setProduct(AbstractProduct newValue)
           
protected  void setProductDescription(int index, String newValue)
           
protected  void setProductDescription(String newValue)
           
protected  void setProductName(int index, String newValue)
           
protected  void setProductName(String newValue)
           
 void setQuantityFrom(BigDecimal newValue)
          Sets a new value for the attribute quantityFrom.
 void setQuantityTo(BigDecimal newValue)
          Sets a new value for the attribute quantityTo.
protected  void setSalesTaxType(SalesTaxType newValue)
           
 void setUom(Uom newValue)
          Sets a new value for the reference uom.
 void setUsage(List newValue)
           
 void setUsage(short[] newValue)
           
protected  void setView(List newValue)
           
protected  void setView(View[] newValue)
           
 
Methods inherited from class org.openmdx.base.accessor.jmi.spi.RefObject_1
equals, jdoCopyFields, jdoCopyKeyFieldsFromObjectId, jdoCopyKeyFieldsToObjectId, jdoCopyKeyFieldsToObjectId, jdoGetObjectId, jdoGetPersistenceManager, jdoGetTransactionalObjectId, jdoGetVersion, jdoIsDeleted, jdoIsDetached, jdoIsDirty, jdoIsNew, jdoIsPersistent, jdoIsTransactional, jdoMakeDirty, jdoNewInstance, jdoNewInstance, jdoNewObjectIdInstance, jdoNewObjectIdInstance, jdoProvideField, jdoProvideFields, jdoReplaceField, jdoReplaceFields, jdoReplaceFlags, jdoReplaceStateManager, refAddEventListener, refAddToUnitOfWork, refAddValue, refAddValue, refAddValue, refClass, refContext, refDefaultFetchGroup, refDelegate, refDelete, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refImmediateComposite, refImmediatePackage, refInitialize, refInitialize, refInvokeOperation, refInvokeOperation, refIsDeleted, refIsDirty, refIsInstanceOf, refIsNew, refIsPersistent, refIsWriteProtected, refMetaObject, refMofId, refOutermostComposite, refOutermostPackage, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refRemoveValue, refRemoveValue, refSetValue, refSetValue, refSetValue, refSetValue, refVerifyConstraints, refWriteProtect, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Constructor Detail

PriceListEntryImpl

public PriceListEntryImpl(Object_1_0 object,
                          RefClass refClass)
Method Detail

getAccessGrantedByParent

public BasicObject getAccessGrantedByParent()
Description copied from interface: SecureObject
Retrieves the value for the optional reference accessGrantedByParent.

Specified by:
getAccessGrantedByParent in interface SecureObject
Returns:
The possibly null value for this reference.

setAccessGrantedByParent

protected void setAccessGrantedByParent(BasicObject newValue)

removeAccessGrantedByParent

protected void removeAccessGrantedByParent()

getAccessLevelBrowse

public short getAccessLevelBrowse()
Description copied from interface: SecureObject
Retrieves the value for the attribute accessLevelBrowse.

Specified by:
getAccessLevelBrowse in interface SecureObject
Returns:
The non-null value for attribute accessLevelBrowse.

getAccessLevelBrowse

protected short getAccessLevelBrowse(int index)

setAccessLevelBrowse

public void setAccessLevelBrowse(short newValue)
Description copied from interface: SecureObject
Sets a new value for the attribute accessLevelBrowse.

Specified by:
setAccessLevelBrowse in interface SecureObject
Parameters:
newValue - The non-null new value for attribute accessLevelBrowse.

setAccessLevelBrowse

protected void setAccessLevelBrowse(int index,
                                    short newValue)

getAccessLevelDelete

public short getAccessLevelDelete()
Description copied from interface: SecureObject
Retrieves the value for the attribute accessLevelDelete.

Specified by:
getAccessLevelDelete in interface SecureObject
Returns:
The non-null value for attribute accessLevelDelete.

getAccessLevelDelete

protected short getAccessLevelDelete(int index)

setAccessLevelDelete

public void setAccessLevelDelete(short newValue)
Description copied from interface: SecureObject
Sets a new value for the attribute accessLevelDelete.

Specified by:
setAccessLevelDelete in interface SecureObject
Parameters:
newValue - The non-null new value for attribute accessLevelDelete.

setAccessLevelDelete

protected void setAccessLevelDelete(int index,
                                    short newValue)

getAccessLevelUpdate

public short getAccessLevelUpdate()
Description copied from interface: SecureObject
Retrieves the value for the attribute accessLevelUpdate.

Specified by:
getAccessLevelUpdate in interface SecureObject
Returns:
The non-null value for attribute accessLevelUpdate.

getAccessLevelUpdate

protected short getAccessLevelUpdate(int index)

setAccessLevelUpdate

public void setAccessLevelUpdate(short newValue)
Description copied from interface: SecureObject
Sets a new value for the attribute accessLevelUpdate.

Specified by:
setAccessLevelUpdate in interface SecureObject
Parameters:
newValue - The non-null new value for attribute accessLevelUpdate.

setAccessLevelUpdate

protected void setAccessLevelUpdate(int index,
                                    short newValue)

addOwningGroup

public ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams params)
                                        throws RefException
Specified by:
addOwningGroup in interface SecureObject
Throws:
RefException

addOwningGroup

public ModifySecureObjectResult addOwningGroup(PrincipalGroup group,
                                               short mode)
                                        throws RefException
Specified by:
addOwningGroup in interface SecureObject
Throws:
RefException

getOwner

public List getOwner()
Specified by:
getOwner in interface SecureObject
Returns:
A list containing all elements for this attribute.

getOwner

public String getOwner(int index)
Specified by:
getOwner in interface SecureObject
Parameters:
index - The index of the element to return.
Returns:
The element at the specified position in the list of all values for this attribute.

setOwner

protected void setOwner(List newValue)

setOwner

protected void setOwner(String[] newValue)

setOwningGroup

public void setOwningGroup(List newValue)

setOwningGroup

public void setOwningGroup(PrincipalGroup[] newValue)

getOwningGroup

public PrincipalGroup getOwningGroup(int index)
Description copied from interface: SecureObject
Retrieves the value for the reference owningGroup for the specified qualifier attribute value.

Specified by:
getOwningGroup in interface SecureObject
Parameters:
index - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this reference.

getOwningGroup

public Collection getOwningGroup()
Description copied from interface: SecureObject
Retrieves the objects referenced by owningGroup.

Specified by:
getOwningGroup in interface SecureObject
Returns:
The collection of referenced objects.

addOwningGroup

public void addOwningGroup(int index,
                           PrincipalGroup newValue)
Specified by:
addOwningGroup in interface SecureObject
Parameters:
index - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addOwningGroup

public void addOwningGroup(PrincipalGroup newValue)
Specified by:
addOwningGroup in interface SecureObject
Parameters:
newValue - The element to be appended.

removeOwningGroup

public void removeOwningGroup(int index)
Specified by:
removeOwningGroup in interface SecureObject

getOwningUser

public User getOwningUser()
Description copied from interface: SecureObject
Retrieves the value for the optional reference owningUser.

Specified by:
getOwningUser in interface SecureObject
Returns:
The possibly null value for this reference.

setOwningUser

public void setOwningUser(User newValue)
Description copied from interface: SecureObject
Sets a new value for the reference owningUser.

Specified by:
setOwningUser in interface SecureObject
Parameters:
newValue - The non-null new value for this reference.

removeOwningUser

public void removeOwningUser()
Description copied from interface: SecureObject
Removes the value for the optional reference owningUser.

Specified by:
removeOwningUser in interface SecureObject

removeAllOwningGroup

public ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams params)
                                              throws RefException
Specified by:
removeAllOwningGroup in interface SecureObject
Throws:
RefException

removeAllOwningGroup

public ModifySecureObjectResult removeAllOwningGroup(short mode)
                                              throws RefException
Specified by:
removeAllOwningGroup in interface SecureObject
Throws:
RefException

removeOwningGroup

public ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams params)
                                           throws RefException
Specified by:
removeOwningGroup in interface SecureObject
Throws:
RefException

removeOwningGroup

public ModifySecureObjectResult removeOwningGroup(PrincipalGroup group,
                                                  short mode)
                                           throws RefException
Specified by:
removeOwningGroup in interface SecureObject
Throws:
RefException

setAccessLevel

public ModifySecureObjectResult setAccessLevel(SetAccessLevelParams params)
                                        throws RefException
Specified by:
setAccessLevel in interface SecureObject
Throws:
RefException

setAccessLevel

public ModifySecureObjectResult setAccessLevel(short accessLevelBrowse,
                                               short accessLevelDelete,
                                               short accessLevelUpdate,
                                               short mode)
                                        throws RefException
Specified by:
setAccessLevel in interface SecureObject
Throws:
RefException

setOwningUser

public ModifySecureObjectResult setOwningUser(SetOwningUserParams params)
                                       throws RefException
Specified by:
setOwningUser in interface SecureObject
Throws:
RefException

setOwningUser

public ModifySecureObjectResult setOwningUser(short mode,
                                              User user)
                                       throws RefException
Specified by:
setOwningUser in interface SecureObject
Throws:
RefException

getDescription

public String getDescription()
Specified by:
getDescription in interface AbstractProductPrice
Returns:
The possibly null value for attribute description.

setDescription

public void setDescription(String newValue)
Description copied from interface: AbstractProductPrice
Sets a new value for the attribute description.

Specified by:
setDescription in interface AbstractProductPrice
Parameters:
newValue - The possibly null new value for attribute description.

getDiscount

public BigDecimal getDiscount()
Specified by:
getDiscount in interface AbstractProductPrice
Returns:
The possibly null value for attribute discount.

setDiscount

public void setDiscount(BigDecimal newValue)
Description copied from interface: AbstractProductPrice
Sets a new value for the attribute discount.

Specified by:
setDiscount in interface AbstractProductPrice
Parameters:
newValue - The possibly null new value for attribute discount.

isDiscountIsPercentage

public Boolean isDiscountIsPercentage()
Specified by:
isDiscountIsPercentage in interface AbstractProductPrice
Returns:
The possibly null value for attribute discountIsPercentage.

setDiscountIsPercentage

public void setDiscountIsPercentage(Boolean newValue)
Description copied from interface: AbstractProductPrice
Sets a new value for the attribute discountIsPercentage.

Specified by:
setDiscountIsPercentage in interface AbstractProductPrice
Parameters:
newValue - The possibly null new value for attribute discountIsPercentage.

getPrice

public BigDecimal getPrice()
Specified by:
getPrice in interface AbstractProductPrice
Returns:
The possibly null value for attribute price.

setPrice

public void setPrice(BigDecimal newValue)
Description copied from interface: AbstractProductPrice
Sets a new value for the attribute price.

Specified by:
setPrice in interface AbstractProductPrice
Parameters:
newValue - The possibly null new value for attribute price.

getPriceCurrency

public short getPriceCurrency()
Description copied from interface: AbstractProductPrice
Retrieves the value for the attribute priceCurrency.

Specified by:
getPriceCurrency in interface AbstractProductPrice
Returns:
The non-null value for attribute priceCurrency.

getPriceCurrency

protected short getPriceCurrency(int index)

setPriceCurrency

public void setPriceCurrency(short newValue)
Description copied from interface: AbstractProductPrice
Sets a new value for the attribute priceCurrency.

Specified by:
setPriceCurrency in interface AbstractProductPrice
Parameters:
newValue - The non-null new value for attribute priceCurrency.

setPriceCurrency

protected void setPriceCurrency(int index,
                                short newValue)

setPriceLevel

public void setPriceLevel(List newValue)

setPriceLevel

public void setPriceLevel(PriceLevel[] newValue)

getPriceLevel

public PriceLevel getPriceLevel(int index)
Description copied from interface: AbstractProductPrice
Retrieves the value for the reference priceLevel for the specified qualifier attribute value.

Specified by:
getPriceLevel in interface AbstractProductPrice
Parameters:
index - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this reference.

getPriceLevel

public Collection getPriceLevel()
Description copied from interface: AbstractProductPrice
Retrieves the objects referenced by priceLevel.

Specified by:
getPriceLevel in interface AbstractProductPrice
Returns:
The collection of referenced objects.

addPriceLevel

public void addPriceLevel(int index,
                          PriceLevel newValue)
Specified by:
addPriceLevel in interface AbstractProductPrice
Parameters:
index - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addPriceLevel

public void addPriceLevel(PriceLevel newValue)
Specified by:
addPriceLevel in interface AbstractProductPrice
Parameters:
newValue - The element to be appended.

removePriceLevel

public void removePriceLevel(int index)
Specified by:
removePriceLevel in interface AbstractProductPrice

getQuantityFrom

public BigDecimal getQuantityFrom()
Specified by:
getQuantityFrom in interface AbstractProductPrice
Returns:
The possibly null value for attribute quantityFrom.

setQuantityFrom

public void setQuantityFrom(BigDecimal newValue)
Description copied from interface: AbstractProductPrice
Sets a new value for the attribute quantityFrom.

Specified by:
setQuantityFrom in interface AbstractProductPrice
Parameters:
newValue - The possibly null new value for attribute quantityFrom.

getQuantityTo

public BigDecimal getQuantityTo()
Specified by:
getQuantityTo in interface AbstractProductPrice
Returns:
The possibly null value for attribute quantityTo.

setQuantityTo

public void setQuantityTo(BigDecimal newValue)
Description copied from interface: AbstractProductPrice
Sets a new value for the attribute quantityTo.

Specified by:
setQuantityTo in interface AbstractProductPrice
Parameters:
newValue - The possibly null new value for attribute quantityTo.

getUom

public Uom getUom()
Description copied from interface: AbstractProductPrice
Retrieves the value for the reference uom.

Specified by:
getUom in interface AbstractProductPrice
Returns:
The non-null value for this reference.

setUom

public void setUom(Uom newValue)
Description copied from interface: AbstractProductPrice
Sets a new value for the reference uom.

Specified by:
setUom in interface AbstractProductPrice
Parameters:
newValue - The non-null new value for this reference.

getUsage

public List getUsage()
Specified by:
getUsage in interface AbstractProductPrice
Returns:
A list containing all elements for this attribute.

getUsage

public short getUsage(int index)
Specified by:
getUsage in interface AbstractProductPrice
Parameters:
index - The index of the element to return.
Returns:
The element at the specified position in the list of all values for this attribute.

setUsage

public void setUsage(List newValue)
Specified by:
setUsage in interface AbstractProductPrice
Parameters:
newValue - A list containing all the new elements for this attribute.

setUsage

public void setUsage(short[] newValue)
Specified by:
setUsage in interface AbstractProductPrice
Parameters:
newValue - An array containing all the new elements for this attribute.

getBasePrice

public ProductBasePrice getBasePrice()
Description copied from interface: PriceListEntry
Retrieves the value for the optional reference basePrice.

Specified by:
getBasePrice in interface PriceListEntry
Returns:
The possibly null value for this reference.

setBasePrice

public void setBasePrice(ProductBasePrice newValue)
Description copied from interface: PriceListEntry
Sets a new value for the reference basePrice.

Specified by:
setBasePrice in interface PriceListEntry
Parameters:
newValue - The non-null new value for this reference.

removeBasePrice

public void removeBasePrice()
Description copied from interface: PriceListEntry
Removes the value for the optional reference basePrice.

Specified by:
removeBasePrice in interface PriceListEntry

getProduct

public AbstractProduct getProduct()
Description copied from interface: PriceListEntry
Retrieves the value for the optional reference product.

Specified by:
getProduct in interface PriceListEntry
Returns:
The possibly null value for this reference.

setProduct

protected void setProduct(AbstractProduct newValue)

removeProduct

protected void removeProduct()

getProductDescription

public String getProductDescription()
Description copied from interface: PriceListEntry
Retrieves the value for the attribute productDescription.

Specified by:
getProductDescription in interface PriceListEntry
Returns:
The non-null value for attribute productDescription.

getProductDescription

protected String getProductDescription(int index)

setProductDescription

protected void setProductDescription(String newValue)

setProductDescription

protected void setProductDescription(int index,
                                     String newValue)

getProductName

public String getProductName()
Description copied from interface: PriceListEntry
Retrieves the value for the attribute productName.

Specified by:
getProductName in interface PriceListEntry
Returns:
The non-null value for attribute productName.

getProductName

protected String getProductName(int index)

setProductName

protected void setProductName(String newValue)

setProductName

protected void setProductName(int index,
                              String newValue)

getSalesTaxType

public SalesTaxType getSalesTaxType()
Description copied from interface: PriceListEntry
Retrieves the value for the optional reference salesTaxType.

Specified by:
getSalesTaxType in interface PriceListEntry
Returns:
The possibly null value for this reference.

setSalesTaxType

protected void setSalesTaxType(SalesTaxType newValue)

removeSalesTaxType

protected void removeSalesTaxType()

getCreatedAt

public Date getCreatedAt()
Description copied from interface: BasicObject
Retrieves the value for the attribute createdAt.

Specified by:
getCreatedAt in interface BasicObject
Returns:
The non-null value for attribute createdAt.

getCreatedAt

protected Date getCreatedAt(int index)

setCreatedAt

protected void setCreatedAt(Date newValue)

setCreatedAt

protected void setCreatedAt(int index,
                            Date newValue)

getCreatedBy

public Set getCreatedBy()
Specified by:
getCreatedBy in interface BasicObject
Returns:
A set containing all elements for this attribute.

setCreatedBy

protected void setCreatedBy(Set newValue)

setCreatedBy

protected void setCreatedBy(String[] newValue)

getModifiedAt

public Date getModifiedAt()
Description copied from interface: BasicObject
Retrieves the value for the attribute modifiedAt.

Specified by:
getModifiedAt in interface BasicObject
Returns:
The non-null value for attribute modifiedAt.

getModifiedAt

protected Date getModifiedAt(int index)

setModifiedAt

protected void setModifiedAt(Date newValue)

setModifiedAt

protected void setModifiedAt(int index,
                             Date newValue)

getModifiedBy

public Set getModifiedBy()
Specified by:
getModifiedBy in interface BasicObject
Returns:
A set containing all elements for this attribute.

setModifiedBy

protected void setModifiedBy(Set newValue)

setModifiedBy

protected void setModifiedBy(String[] newValue)

setContext

protected void setContext(List newValue)

setContext

protected void setContext(Context[] newValue)

getContext

public Context getContext(String id)
Description copied from interface: ContextCapable
Retrieves the value for the reference context for the specified qualifier attribute value.

Specified by:
getContext in interface ContextCapable
Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this reference.

getContext

public Collection getContext()
Description copied from interface: ContextCapable
Retrieves the objects referenced by context.

Specified by:
getContext in interface ContextCapable
Returns:
The collection of referenced objects.

addContext

protected void addContext(String id,
                          Context newValue)

addContext

protected void addContext(Context newValue)

removeContext

protected void removeContext(String id)

getIdentity

public String getIdentity()
Description copied from interface: ExtentCapable
Retrieves the value for the attribute identity.

Specified by:
getIdentity in interface ExtentCapable
Returns:
The non-null value for attribute identity.

getIdentity

protected String getIdentity(int index)

setIdentity

protected void setIdentity(String newValue)

setIdentity

protected void setIdentity(int index,
                           String newValue)

setView

protected void setView(List newValue)

setView

protected void setView(View[] newValue)

getView

public View getView(String namespace)
Description copied from interface: ViewCapable
Retrieves the value for the reference view for the specified qualifier attribute value.

Specified by:
getView in interface ViewCapable
Parameters:
namespace - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this reference.

getView

public Collection getView()
Description copied from interface: ViewCapable
Retrieves a collection containing all the elements for the reference view.

Specified by:
getView in interface ViewCapable
Returns:
A collection containing all the elements for this reference.

getView

public List getView(ViewFilter filter)
Description copied from interface: ViewCapable
Retrieves the value for the reference view for the specified filter.

Specified by:
getView in interface ViewCapable
Parameters:
filter - filter which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.

getView

public List getView(ViewQuery query)
Description copied from interface: ViewCapable
Retrieves the value for the reference view for the specified query.

Specified by:
getView in interface ViewCapable
Returns:
The filtered collection of referenced objects.

addView

protected void addView(String namespace,
                       View newValue)

addView

protected void addView(View newValue)

removeView

protected void removeView(String namespace)


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