org.broadleafcommerce.core.offer.domain
Class CandidateItemOfferImpl
java.lang.Object
org.broadleafcommerce.core.offer.domain.CandidateItemOfferImpl
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, CandidateItemOffer
@Entity
public class CandidateItemOfferImpl
- extends java.lang.Object
- implements CandidateItemOffer, java.lang.Cloneable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
id
protected java.lang.Long id
orderItem
protected OrderItem orderItem
offer
protected Offer offer
CandidateItemOfferImpl
public CandidateItemOfferImpl()
getId
public java.lang.Long getId()
- Specified by:
getId in interface CandidateItemOffer
setId
public void setId(java.lang.Long id)
- Specified by:
setId in interface CandidateItemOffer
getOrderItem
public OrderItem getOrderItem()
- Specified by:
getOrderItem in interface CandidateItemOffer
setOrderItem
public void setOrderItem(OrderItem orderItem)
- Specified by:
setOrderItem in interface CandidateItemOffer
setOffer
public void setOffer(Offer offer)
- Specified by:
setOffer in interface CandidateItemOffer
getPriority
public int getPriority()
- Specified by:
getPriority in interface CandidateItemOffer
getOffer
public Offer getOffer()
- Specified by:
getOffer in interface CandidateItemOffer
getDiscountedPrice
public Money getDiscountedPrice()
- Specified by:
getDiscountedPrice in interface CandidateItemOffer
setDiscountedPrice
public void setDiscountedPrice(Money discountedPrice)
- Specified by:
setDiscountedPrice in interface CandidateItemOffer
checkCloneable
public void checkCloneable(CandidateItemOffer itemOffer)
throws java.lang.CloneNotSupportedException,
java.lang.SecurityException,
java.lang.NoSuchMethodException
- Throws:
java.lang.CloneNotSupportedException
java.lang.SecurityException
java.lang.NoSuchMethodException
clone
public CandidateItemOffer clone()
- Specified by:
clone in interface CandidateItemOffer- Overrides:
clone in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
Copyright © 2012. All Rights Reserved.