|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AbstractProductPrice
Abstract class AbstractProductPrice
| Method Summary | ||
|---|---|---|
String |
getDescription()
Retrieves the possibly null value for the optional attribute description. |
|
BigDecimal |
getDiscount()
Retrieves the possibly null value for the optional attribute discount. |
|
BigDecimal |
getPrice()
Retrieves the possibly null value for the optional attribute price. |
|
short |
getPriceCurrency()
Retrieves the value for the attribute priceCurrency. |
|
|
getPriceLevel()
Retrieves the Collection of objects referenced by
priceLevel. |
|
BigDecimal |
getQuantityFrom()
Retrieves the possibly null value for the optional attribute quantityFrom. |
|
BigDecimal |
getQuantityTo()
Retrieves the possibly null value for the optional attribute quantityTo. |
|
Uom |
getUom()
Retrieves the value for the reference uom. |
|
List<Short> |
getUsage()
Retrieves a list containing all the elements for the attribute usage. |
|
Boolean |
isDiscountIsPercentage()
Retrieves the possibly null value for the optional attribute discountIsPercentage. |
|
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. |
|
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 |
setUom(Uom uom)
Sets a new value for the reference uom. |
|
void |
setUsage(short... usage)
Clears usage and adds the given value(s). |
|
| Method Detail |
|---|
String getDescription()
description.
description.void setDescription(String description)
description.
description - The possibly null new value for attribute description.BigDecimal getDiscount()
discount.
discount.void setDiscount(BigDecimal discount)
discount.
discount - The possibly null new value for attribute discount.Boolean isDiscountIsPercentage()
discountIsPercentage.
discountIsPercentage.void setDiscountIsPercentage(Boolean discountIsPercentage)
discountIsPercentage.
discountIsPercentage - The possibly null new value for attribute discountIsPercentage.BigDecimal getPrice()
price.
price.void setPrice(BigDecimal price)
price.
price - The possibly null new value for attribute price.short getPriceCurrency()
priceCurrency.
priceCurrency.void setPriceCurrency(short priceCurrency)
priceCurrency.
priceCurrency - The non-null new value for attribute priceCurrency.<T extends AbstractPriceLevel> List<T> getPriceLevel()
Collection of objects referenced by
priceLevel.
Collection of referenced objects.BigDecimal getQuantityFrom()
quantityFrom.
quantityFrom.void setQuantityFrom(BigDecimal quantityFrom)
quantityFrom.
quantityFrom - The possibly null new value for attribute quantityFrom.BigDecimal getQuantityTo()
quantityTo.
quantityTo.void setQuantityTo(BigDecimal quantityTo)
quantityTo.
quantityTo - The possibly null new value for attribute quantityTo.Uom getUom()
uom.
null value for this reference.void setUom(Uom uom)
uom.
uom - The non-null new value for this reference.List<Short> getUsage()
usage.
void setUsage(short... usage)
usage and adds the given value(s).
This method is equivalent to
list.clear();
for(short e : attributeName){
list.add(e);
}
usage - value(s) to be added to usage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||