|
||||||||||
| 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.PriceListEntry
public class PriceListEntry
Class PriceListEntry
| Nested Class Summary | |
|---|---|
static class |
PriceListEntry.Identity
The object's application identity |
static class |
PriceListEntry.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::PriceListEntry |
| Constructor Summary | |
|---|---|
PriceListEntry()
|
|
| Method Summary | ||
|---|---|---|
|
addOwningGroup(PrincipalGroup group,
short mode)
|
|
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. |
|
ProductBasePrice |
getBasePrice()
Retrieves the value for the reference basePrice. |
|
Date |
getCreatedAt()
Retrieves the value for the attribute createdAt. |
|
Set<String> |
getCreatedBy()
|
|
String |
getDescription()
|
|
BigDecimal |
getDiscount()
|
|
XRI |
getIdentity()
Retrieves the value for the derived attribute identity. |
|
Date |
getModifiedAt()
Retrieves the value for the attribute modifiedAt. |
|
Set<String> |
getModifiedBy()
|
|
List<String> |
getOwner()
|
|
|
getOwningGroup()
Retrieves the Collection of objects referenced by
owningGroup. |
|
User |
getOwningUser()
Retrieves the value for the reference owningUser. |
|
BigDecimal |
getPrice()
|
|
short |
getPriceCurrency()
Retrieves the value for the attribute priceCurrency. |
|
|
getPriceLevel()
Retrieves the Collection of objects referenced by
priceLevel. |
|
AbstractProduct |
getProduct()
Retrieves the value for the reference product. |
|
String |
getProductDescription()
Retrieves the value for the attribute productDescription. |
|
String |
getProductName()
Retrieves the value for the attribute productName. |
|
BigDecimal |
getQuantityFrom()
|
|
BigDecimal |
getQuantityTo()
|
|
SalesTaxType |
getSalesTaxType()
Retrieves the value for the reference salesTaxType. |
|
Uom |
getUom()
Retrieves the value for the reference uom. |
|
List<Short> |
getUsage()
|
|
|
getView()
Retrieves a set containing all the elements for the reference view. |
|
Boolean |
isDiscountIsPercentage()
|
|
static PriceListEntry.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<PriceListEntry> |
openmdxjdoGetObjectsByParent(Segment segment)
Navigate through an object's composite association |
|
protected int |
openmdxjdoGetSize(int field)
|
|
protected
|
openmdxjdoGetSlices()
|
|
protected void |
openmdxjdoSetSize(int field,
int size)
|
|
|
removeAllOwningGroup(short mode)
|
|
|
removeOwningGroup(PrincipalGroup group,
short mode)
|
|
|
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 |
setBasePrice(ProductBasePrice basePrice)
Sets a new value for the reference basePrice. |
|
void |
setDescription(String description)
Sets a new value for the attribute description. |
|
void |
setDiscount(BigDecimal discount)
Sets a new value for the attribute discount. |
|
void |
setDiscountIsPercentage(Boolean discountIsPercentage)
Sets a new value for the attribute discountIsPercentage. |
|
|
setOwningUser(short mode,
User user)
|
|
void |
setOwningUser(User owningUser)
Sets a new value for the reference owningUser. |
|
void |
setPrice(BigDecimal price)
Sets a new value for the attribute price. |
|
void |
setPriceCurrency(short priceCurrency)
Sets a new value for the attribute priceCurrency. |
|
void |
setQuantityFrom(BigDecimal quantityFrom)
Sets a new value for the attribute quantityFrom. |
|
void |
setQuantityTo(BigDecimal quantityTo)
Sets a new value for the attribute quantityTo. |
|
void |
setSegment(Segment segment)
Sets a new value for the reference segment. |
|
void |
setSegment(Segment segment,
boolean idIsPersistent,
String id)
Set the object's composite association org:opencrx:kernel:product1:SegmentContainsPriceListEntry. |
|
void |
setUom(Uom uom)
Sets a new value for the reference uom. |
|
void |
setUsage(short... usage)
This method is equivalent to |
|
| Methods inherited from class org.w3c.jdo2.AbstractObject |
|---|
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement |
| Methods inherited from class org.oasisopen.jdo2.Identifiable |
|---|
openmdxjdoGetIdentity, openmdxjdoGetIdentity, openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet, openmdxjdoNewObjectId, openmdxjdoNewObjectId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final List<String> CLASS
org::opencrx::kernel::product1::PriceListEntry
public static final List<String> BASE_CLASS
PriceListEntry.CLASS| Constructor Detail |
|---|
public PriceListEntry()
| Method Detail |
|---|
protected String openmdxjdoGetObjectId()
openmdxjdoGetObjectId in class org.oasisopen.jdo2.Identifiableprotected final <E extends org.w3c.jdo2.AbstractObject.Slice> SortedMap<Integer,E> openmdxjdoGetSlices()
openmdxjdoGetSlices in class org.w3c.jdo2.AbstractObjectpublic final Boolean isDiscountIsPercentage()
isDiscountIsPercentage in interface AbstractProductPricediscountIsPercentage.public void setDiscountIsPercentage(Boolean discountIsPercentage)
discountIsPercentage.
setDiscountIsPercentage in interface AbstractProductPricediscountIsPercentage - The possibly null new value for attribute discountIsPercentage.public short getAccessLevelDelete()
accessLevelDelete.
getAccessLevelDelete in interface SecureObjectaccessLevelDelete.public void setAccessLevelDelete(short accessLevelDelete)
accessLevelDelete.
setAccessLevelDelete in interface SecureObjectaccessLevelDelete - The non-null new value for attribute accessLevelDelete.public <T extends PriceLevel> List<T> getPriceLevel()
Collection of objects referenced by
priceLevel.
getPriceLevel in interface AbstractProductPriceCollection of referenced objects.public Date getModifiedAt()
modifiedAt.
getModifiedAt in interface org.openmdx.base.cci2.BasicObjectmodifiedAt.public String getProductDescription()
productDescription.
getProductDescription in interface PriceListEntryproductDescription.public final Set<String> getModifiedBy()
getModifiedBy in interface org.openmdx.base.cci2.BasicObjectpublic short getAccessLevelBrowse()
accessLevelBrowse.
getAccessLevelBrowse in interface SecureObjectaccessLevelBrowse.public void setAccessLevelBrowse(short accessLevelBrowse)
accessLevelBrowse.
setAccessLevelBrowse in interface SecureObjectaccessLevelBrowse - The non-null new value for attribute accessLevelBrowse.public XRI getIdentity()
identity.
getIdentity in interface org.openmdx.base.cci2.ExtentCapableidentitypublic Uom getUom()
uom.
getUom in interface AbstractProductPricenull value for this reference.public void setUom(Uom uom)
uom.
setUom in interface AbstractProductPriceuom - The non-null new value for this reference.public final String getDescription()
getDescription in interface AbstractProductPricedescription.public void setDescription(String description)
description.
setDescription in interface AbstractProductPricedescription - The possibly null new value for attribute description.
public <T extends ModifySecureObjectResult> T removeAllOwningGroup(short mode)
throws RefException
removeAllOwningGroup in interface SecureObjectRefExceptionpublic Date getCreatedAt()
createdAt.
getCreatedAt in interface org.openmdx.base.cci2.BasicObjectcreatedAt.
public <T extends ModifySecureObjectResult> T setOwningUser(short mode,
User user)
throws RefException
setOwningUser in interface SecureObjectRefExceptionpublic <T extends PrincipalGroup> List<T> getOwningGroup()
Collection of objects referenced by
owningGroup.
getOwningGroup in interface SecureObjectCollection of referenced objects.
public <T extends ModifySecureObjectResult> T addOwningGroup(PrincipalGroup group,
short mode)
throws RefException
addOwningGroup in interface SecureObjectRefExceptionpublic final BigDecimal getQuantityTo()
getQuantityTo in interface AbstractProductPricequantityTo.public void setQuantityTo(BigDecimal quantityTo)
quantityTo.
setQuantityTo in interface AbstractProductPricequantityTo - The possibly null new value for attribute quantityTo.public SalesTaxType getSalesTaxType()
salesTaxType.
getSalesTaxType in interface PriceListEntrynull – value for this reference.public final BigDecimal getQuantityFrom()
getQuantityFrom in interface AbstractProductPricequantityFrom.public void setQuantityFrom(BigDecimal quantityFrom)
quantityFrom.
setQuantityFrom in interface AbstractProductPricequantityFrom - The possibly null new value for attribute quantityFrom.public short getPriceCurrency()
priceCurrency.
getPriceCurrency in interface AbstractProductPricepriceCurrency.public void setPriceCurrency(short priceCurrency)
priceCurrency.
setPriceCurrency in interface AbstractProductPricepriceCurrency - The non-null new value for attribute priceCurrency.
public <T extends ModifySecureObjectResult> T removeOwningGroup(PrincipalGroup group,
short mode)
throws RefException
removeOwningGroup in interface SecureObjectRefExceptionpublic final BigDecimal getDiscount()
getDiscount in interface AbstractProductPricediscount.public void setDiscount(BigDecimal discount)
discount.
setDiscount in interface AbstractProductPricediscount - The possibly null new value for attribute discount.public AbstractProduct getProduct()
product.
getProduct in interface PriceListEntrynull – value for this reference.public short getAccessLevelUpdate()
accessLevelUpdate.
getAccessLevelUpdate in interface SecureObjectaccessLevelUpdate.public void setAccessLevelUpdate(short accessLevelUpdate)
accessLevelUpdate.
setAccessLevelUpdate in interface SecureObjectaccessLevelUpdate - The non-null new value for attribute accessLevelUpdate.public final BigDecimal getPrice()
getPrice in interface AbstractProductPriceprice.public void setPrice(BigDecimal price)
price.
setPrice in interface AbstractProductPriceprice - The possibly null new value for attribute price.public final Set<String> getCreatedBy()
getCreatedBy in interface org.openmdx.base.cci2.BasicObjectpublic org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
accessGrantedByParent.
getAccessGrantedByParent in interface SecureObjectnull – value for this reference.
public <T extends ModifySecureObjectResult> T setAccessLevel(short accessLevelBrowse,
short accessLevelDelete,
short accessLevelUpdate,
short mode)
throws RefException
setAccessLevel in interface SecureObjectRefExceptionpublic final List<String> getOwner()
getOwner in interface SecureObjectpublic final List<Short> getUsage()
getUsage in interface AbstractProductPricepublic void setUsage(short... usage)
This method is equivalent to
list.clear();
for(short e : attributeName){
list.add(e);
}
setUsage in interface AbstractProductPriceusage - value(s) to be added to usagepublic <T extends org.openmdx.compatibility.view1.cci2.View> Collection<T> getView()
view.
getView in interface org.openmdx.compatibility.view1.cci2.ViewCapablepublic User getOwningUser()
owningUser.
getOwningUser in interface SecureObjectnull – value for this reference.public void setOwningUser(User owningUser)
owningUser.
setOwningUser in interface SecureObjectowningUser - The non-null new value for this reference.public String getProductName()
productName.
getProductName in interface PriceListEntryproductName.public ProductBasePrice getBasePrice()
basePrice.
getBasePrice in interface PriceListEntrynull – value for this reference.public void setBasePrice(ProductBasePrice basePrice)
basePrice.
setBasePrice in interface PriceListEntrybasePrice - The non-null new value for this reference.protected int openmdxjdoGetSize(int field)
openmdxjdoGetSize in class org.w3c.jdo2.AbstractObject
protected void openmdxjdoSetSize(int field,
int size)
openmdxjdoSetSize in class org.w3c.jdo2.AbstractObjectprotected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
protected List<String> openmdxjdoGetClass()
PriceListEntry.CLASSpublic void setSegment(Segment segment)
segment.
setSegment in interface PriceListEntrysegment - The non-null new value for this reference.public static CloseableCollection<PriceListEntry> openmdxjdoGetObjectsByParent(Segment segment)
public void setSegment(Segment segment,
boolean idIsPersistent,
String id)
org:opencrx:kernel:product1:SegmentContainsPriceListEntry.
setSegment in interface PriceListEntrysegment - The non-null new value for this object's composite owner.idIsPersistent - Defines whether the id is persistent.id - The non-null new value for this object's qualifier.
public static PriceListEntry.Identity newIdentity(org.openmdx.base.cci2.Segment.Identity segment,
boolean idIsPersistent,
String id)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||