|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.base.accessor.jmi.spi.RefObject_1
org.opencrx.kernel.product1.cci.PriceListEntryImpl
public class PriceListEntryImpl
| 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 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 |
|---|
public PriceListEntryImpl(Object_1_0 object,
RefClass refClass)
| Method Detail |
|---|
public BasicObject getAccessGrantedByParent()
SecureObjectaccessGrantedByParent.
getAccessGrantedByParent in interface SecureObjectprotected void setAccessGrantedByParent(BasicObject newValue)
protected void removeAccessGrantedByParent()
public short getAccessLevelBrowse()
SecureObjectaccessLevelBrowse.
getAccessLevelBrowse in interface SecureObjectaccessLevelBrowse.protected short getAccessLevelBrowse(int index)
public void setAccessLevelBrowse(short newValue)
SecureObjectaccessLevelBrowse.
setAccessLevelBrowse in interface SecureObjectnewValue - The non-null new value for attribute accessLevelBrowse.
protected void setAccessLevelBrowse(int index,
short newValue)
public short getAccessLevelDelete()
SecureObjectaccessLevelDelete.
getAccessLevelDelete in interface SecureObjectaccessLevelDelete.protected short getAccessLevelDelete(int index)
public void setAccessLevelDelete(short newValue)
SecureObjectaccessLevelDelete.
setAccessLevelDelete in interface SecureObjectnewValue - The non-null new value for attribute accessLevelDelete.
protected void setAccessLevelDelete(int index,
short newValue)
public short getAccessLevelUpdate()
SecureObjectaccessLevelUpdate.
getAccessLevelUpdate in interface SecureObjectaccessLevelUpdate.protected short getAccessLevelUpdate(int index)
public void setAccessLevelUpdate(short newValue)
SecureObjectaccessLevelUpdate.
setAccessLevelUpdate in interface SecureObjectnewValue - The non-null new value for attribute accessLevelUpdate.
protected void setAccessLevelUpdate(int index,
short newValue)
public ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams params)
throws RefException
addOwningGroup in interface SecureObjectRefException
public ModifySecureObjectResult addOwningGroup(PrincipalGroup group,
short mode)
throws RefException
addOwningGroup in interface SecureObjectRefExceptionpublic List getOwner()
getOwner in interface SecureObjectpublic String getOwner(int index)
getOwner in interface SecureObjectindex - The index of the element to return.
protected void setOwner(List newValue)
protected void setOwner(String[] newValue)
public void setOwningGroup(List newValue)
public void setOwningGroup(PrincipalGroup[] newValue)
public PrincipalGroup getOwningGroup(int index)
SecureObjectowningGroup for the
specified qualifier attribute value.
getOwningGroup in interface SecureObjectindex - The value for the qualifier attribute that qualifies this reference.
public Collection getOwningGroup()
SecureObjectowningGroup.
getOwningGroup in interface SecureObject
public void addOwningGroup(int index,
PrincipalGroup newValue)
addOwningGroup in interface SecureObjectindex - The qualifier attribute value that qualifies the reference to get the element to be appended.newValue - The element to be appended.public void addOwningGroup(PrincipalGroup newValue)
addOwningGroup in interface SecureObjectnewValue - The element to be appended.public void removeOwningGroup(int index)
removeOwningGroup in interface SecureObjectpublic User getOwningUser()
SecureObjectowningUser.
getOwningUser in interface SecureObjectpublic void setOwningUser(User newValue)
SecureObjectowningUser.
setOwningUser in interface SecureObjectnewValue - The non-null new value for this reference.public void removeOwningUser()
SecureObjectowningUser.
removeOwningUser in interface SecureObject
public ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams params)
throws RefException
removeAllOwningGroup in interface SecureObjectRefException
public ModifySecureObjectResult removeAllOwningGroup(short mode)
throws RefException
removeAllOwningGroup in interface SecureObjectRefException
public ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams params)
throws RefException
removeOwningGroup in interface SecureObjectRefException
public ModifySecureObjectResult removeOwningGroup(PrincipalGroup group,
short mode)
throws RefException
removeOwningGroup in interface SecureObjectRefException
public ModifySecureObjectResult setAccessLevel(SetAccessLevelParams params)
throws RefException
setAccessLevel in interface SecureObjectRefException
public ModifySecureObjectResult setAccessLevel(short accessLevelBrowse,
short accessLevelDelete,
short accessLevelUpdate,
short mode)
throws RefException
setAccessLevel in interface SecureObjectRefException
public ModifySecureObjectResult setOwningUser(SetOwningUserParams params)
throws RefException
setOwningUser in interface SecureObjectRefException
public ModifySecureObjectResult setOwningUser(short mode,
User user)
throws RefException
setOwningUser in interface SecureObjectRefExceptionpublic String getDescription()
getDescription in interface AbstractProductPricedescription.public void setDescription(String newValue)
AbstractProductPricedescription.
setDescription in interface AbstractProductPricenewValue - The possibly null new value for attribute description.public BigDecimal getDiscount()
getDiscount in interface AbstractProductPricediscount.public void setDiscount(BigDecimal newValue)
AbstractProductPricediscount.
setDiscount in interface AbstractProductPricenewValue - The possibly null new value for attribute discount.public Boolean isDiscountIsPercentage()
isDiscountIsPercentage in interface AbstractProductPricediscountIsPercentage.public void setDiscountIsPercentage(Boolean newValue)
AbstractProductPricediscountIsPercentage.
setDiscountIsPercentage in interface AbstractProductPricenewValue - The possibly null new value for attribute discountIsPercentage.public BigDecimal getPrice()
getPrice in interface AbstractProductPriceprice.public void setPrice(BigDecimal newValue)
AbstractProductPriceprice.
setPrice in interface AbstractProductPricenewValue - The possibly null new value for attribute price.public short getPriceCurrency()
AbstractProductPricepriceCurrency.
getPriceCurrency in interface AbstractProductPricepriceCurrency.protected short getPriceCurrency(int index)
public void setPriceCurrency(short newValue)
AbstractProductPricepriceCurrency.
setPriceCurrency in interface AbstractProductPricenewValue - The non-null new value for attribute priceCurrency.
protected void setPriceCurrency(int index,
short newValue)
public void setPriceLevel(List newValue)
public void setPriceLevel(PriceLevel[] newValue)
public PriceLevel getPriceLevel(int index)
AbstractProductPricepriceLevel for the
specified qualifier attribute value.
getPriceLevel in interface AbstractProductPriceindex - The value for the qualifier attribute that qualifies this reference.
public Collection getPriceLevel()
AbstractProductPricepriceLevel.
getPriceLevel in interface AbstractProductPrice
public void addPriceLevel(int index,
PriceLevel newValue)
addPriceLevel in interface AbstractProductPriceindex - The qualifier attribute value that qualifies the reference to get the element to be appended.newValue - The element to be appended.public void addPriceLevel(PriceLevel newValue)
addPriceLevel in interface AbstractProductPricenewValue - The element to be appended.public void removePriceLevel(int index)
removePriceLevel in interface AbstractProductPricepublic BigDecimal getQuantityFrom()
getQuantityFrom in interface AbstractProductPricequantityFrom.public void setQuantityFrom(BigDecimal newValue)
AbstractProductPricequantityFrom.
setQuantityFrom in interface AbstractProductPricenewValue - The possibly null new value for attribute quantityFrom.public BigDecimal getQuantityTo()
getQuantityTo in interface AbstractProductPricequantityTo.public void setQuantityTo(BigDecimal newValue)
AbstractProductPricequantityTo.
setQuantityTo in interface AbstractProductPricenewValue - The possibly null new value for attribute quantityTo.public Uom getUom()
AbstractProductPriceuom.
getUom in interface AbstractProductPricepublic void setUom(Uom newValue)
AbstractProductPriceuom.
setUom in interface AbstractProductPricenewValue - The non-null new value for this reference.public List getUsage()
getUsage in interface AbstractProductPricepublic short getUsage(int index)
getUsage in interface AbstractProductPriceindex - The index of the element to return.
public void setUsage(List newValue)
setUsage in interface AbstractProductPricenewValue - A list containing all the new elements for this attribute.public void setUsage(short[] newValue)
setUsage in interface AbstractProductPricenewValue - An array containing all the new elements for this attribute.public ProductBasePrice getBasePrice()
PriceListEntrybasePrice.
getBasePrice in interface PriceListEntrypublic void setBasePrice(ProductBasePrice newValue)
PriceListEntrybasePrice.
setBasePrice in interface PriceListEntrynewValue - The non-null new value for this reference.public void removeBasePrice()
PriceListEntrybasePrice.
removeBasePrice in interface PriceListEntrypublic AbstractProduct getProduct()
PriceListEntryproduct.
getProduct in interface PriceListEntryprotected void setProduct(AbstractProduct newValue)
protected void removeProduct()
public String getProductDescription()
PriceListEntryproductDescription.
getProductDescription in interface PriceListEntryproductDescription.protected String getProductDescription(int index)
protected void setProductDescription(String newValue)
protected void setProductDescription(int index,
String newValue)
public String getProductName()
PriceListEntryproductName.
getProductName in interface PriceListEntryproductName.protected String getProductName(int index)
protected void setProductName(String newValue)
protected void setProductName(int index,
String newValue)
public SalesTaxType getSalesTaxType()
PriceListEntrysalesTaxType.
getSalesTaxType in interface PriceListEntryprotected void setSalesTaxType(SalesTaxType newValue)
protected void removeSalesTaxType()
public Date getCreatedAt()
BasicObjectcreatedAt.
getCreatedAt in interface BasicObjectcreatedAt.protected Date getCreatedAt(int index)
protected void setCreatedAt(Date newValue)
protected void setCreatedAt(int index,
Date newValue)
public Set getCreatedBy()
getCreatedBy in interface BasicObjectprotected void setCreatedBy(Set newValue)
protected void setCreatedBy(String[] newValue)
public Date getModifiedAt()
BasicObjectmodifiedAt.
getModifiedAt in interface BasicObjectmodifiedAt.protected Date getModifiedAt(int index)
protected void setModifiedAt(Date newValue)
protected void setModifiedAt(int index,
Date newValue)
public Set getModifiedBy()
getModifiedBy in interface BasicObjectprotected void setModifiedBy(Set newValue)
protected void setModifiedBy(String[] newValue)
protected void setContext(List newValue)
protected void setContext(Context[] newValue)
public Context getContext(String id)
ContextCapablecontext for the
specified qualifier attribute value.
getContext in interface ContextCapableid - The value for the qualifier attribute that qualifies this reference.
public Collection getContext()
ContextCapablecontext.
getContext in interface ContextCapable
protected void addContext(String id,
Context newValue)
protected void addContext(Context newValue)
protected void removeContext(String id)
public String getIdentity()
ExtentCapableidentity.
getIdentity in interface ExtentCapableidentity.protected String getIdentity(int index)
protected void setIdentity(String newValue)
protected void setIdentity(int index,
String newValue)
protected void setView(List newValue)
protected void setView(View[] newValue)
public View getView(String namespace)
ViewCapableview for the
specified qualifier attribute value.
getView in interface ViewCapablenamespace - The value for the qualifier attribute that qualifies this reference.
public Collection getView()
ViewCapableview.
getView in interface ViewCapablepublic List getView(ViewFilter filter)
ViewCapableview for the
specified filter.
getView in interface ViewCapablefilter - filter which is applied to the set of referenced objects.
public List getView(ViewQuery query)
ViewCapableview for the
specified query.
getView in interface ViewCapable
protected void addView(String namespace,
View newValue)
protected void addView(View newValue)
protected void removeView(String namespace)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||