Package net.pricefx.server.dto
Class SummaryCalculableObjectItem
Object
SummaryCalculableObjectItem
This class acts as a DTO for PricelistItems that are enriched by some price list header information.
As the items are not stored this way it is not a domain object (i.e. no 1:1 table mapping).
The extended items will have the same typedId as the regular items though to facilitate easy updates for the manual price (the only editable field).
The extended items will have the same typedId as the regular items though to facilitate easy updates for the manual price (the only editable field).
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSummaryCalculableObjectItem(Long version, Long id, Long listId, String sku, String key2, String comments, String typeCode, BigDecimal resultPrice, BigDecimal manualResultPrice, BigDecimal previousPrice, BigDecimal priceChange, BigDecimal priceChangePct, Date targetDate, Date expiryDate, Integer approvalState, Date approvalDate, String listLabel) See subclasses -
Method Summary
Modifier and TypeMethodDescriptiongetKey2()getSku()voidsetApprovalDate(Date approvalDate) voidsetApprovalState(Number approvalState) voidsetComments(String comments) voidsetExpiryDate(Date expiryDate) voidvoidvoidvoidsetListLabel(String listLabel) voidsetManualResultPrice(BigDecimal manualResultPrice) voidsetPreviousPrice(BigDecimal previousPrice) voidsetPriceChange(BigDecimal priceChange) voidsetPriceChangePct(BigDecimal priceChangePct) voidsetResultPrice(BigDecimal resultPrice) voidvoidsetTargetDate(Date targetDate) voidsetTypeCode(String typeCode) voidsetVersion(Number version) toString()
-
Constructor Details
-
SummaryCalculableObjectItem
public SummaryCalculableObjectItem() -
SummaryCalculableObjectItem
protected SummaryCalculableObjectItem(Long version, Long id, Long listId, String sku, String key2, String comments, String typeCode, BigDecimal resultPrice, BigDecimal manualResultPrice, BigDecimal previousPrice, BigDecimal priceChange, BigDecimal priceChangePct, Date targetDate, Date expiryDate, Integer approvalState, Date approvalDate, String listLabel) See subclasses
-
-
Method Details
-
getComments
-
setComments
-
getSku
-
setSku
-
getKey2
-
setKey2
-
getTypeCode
-
setTypeCode
-
getVersion
-
setVersion
-
getTargetDate
-
setTargetDate
-
getExpiryDate
-
setExpiryDate
-
getListLabel
-
setListLabel
-
getTypedId
-
setId
-
getListId
-
setListId
-
getResultPrice
-
setResultPrice
-
getManualResultPrice
-
setManualResultPrice
-
getPreviousPrice
-
setPreviousPrice
-
getPriceChange
-
setPriceChange
-
getPriceChangePct
-
setPriceChangePct
-
getApprovalState
-
setApprovalState
-
getApprovalDate
-
setApprovalDate
-
toString
-