public class PDiscountSharingItemData extends PSharingItemData
description, eventRenderer, events, index, name, qty, selected, sharingPoid, validfrom, validto| Constructor and Description |
|---|
PDiscountSharingItemData(int index,
FList sharing)
Constructs a
PDiscountSharingItemData with the
specified data base index index and
charge sharing FListsharing. |
PDiscountSharingItemData(int index,
FList discountFlist,
FList extraResultFlist)
Constructs a
PSharingItemData with the
specified data base index index and
discount sharing FListsharing. |
PDiscountSharingItemData(Poid sharingPoid,
Poid obj)
Constructs a
PDiscountSharingItemData with the
sharing poid and node location. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Indicates whether some other
PDiscountSharingItemData
is same as this PDiscountSharingItemData? |
Poid |
getOfferingObj()
Returns the offering obj for a discount.
|
int |
hashCode()
Returns a hash code for this
PDiscountSharingItemData. |
void |
setDiscInfoFromAccObj(FList flist) |
void |
setOfferingObj(Poid offeringPoid)
Sets the offering obj from the flist.
|
getDescription, getEventCount, getEventRenderer, getIndex, getName, getQty, getSharingPoid, getValidFrom, getValidTo, isSelected, setSelected, setUsageMap, sortEventspublic PDiscountSharingItemData(Poid sharingPoid, Poid obj)
PDiscountSharingItemData with the
sharing poid and node location.
This constructor should be used only as HashMap key.sharingPoid - Poid the discount poid.obj - String the discounts Offering POID.public PDiscountSharingItemData(int index,
FList sharing)
throws EBufException
PDiscountSharingItemData with the
specified data base index index and
charge sharing FListsharing.index - int the index at databasesharing - FList the charge sharing flistEBufExceptionpublic PDiscountSharingItemData(int index,
FList discountFlist,
FList extraResultFlist)
throws EBufException
PSharingItemData with the
specified data base index index and
discount sharing FListsharing.
This is exclusively for Discount Sharing.index - int the data base array indexdiscountFlist - FList the discount sharing flistextraResultFlist - FList the discount sharing extra result flistEBufExceptionpublic boolean equals(Object obj)
PDiscountSharingItemData
is same as this PDiscountSharingItemData?equals in class PSharingItemDataobj - Object the reference object with which to comparetrue if this object(sharing)
is the same as the obj(sharing)
argument; false otherwise.public int hashCode()
PDiscountSharingItemData.
The hash code for a PDiscountSharingItemData
object is computed as
(int)sharingPoid.getId()+ nodeLocation.hashCode()public void setDiscInfoFromAccObj(FList flist) throws EBufException
EBufExceptionpublic Poid getOfferingObj()
public void setOfferingObj(Poid offeringPoid)
Poid - offeringPoidEBufExceptionCopyright © 2003, 2023, Oracle and/or its affiliates.