org.broadleafcommerce.core.offer.domain
Class CandidateItemOfferImpl
java.lang.Object
org.broadleafcommerce.core.offer.domain.CandidateItemOfferImpl
- All Implemented Interfaces:
- Serializable, Cloneable, CandidateItemOffer
@Entity
public class CandidateItemOfferImpl
- extends Object
- implements CandidateItemOffer, Cloneable
- See Also:
- Serialized Form
LOG
public static final org.apache.commons.logging.Log LOG
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
id
protected Long id
orderItem
protected OrderItem orderItem
offer
protected Offer offer
CandidateItemOfferImpl
public CandidateItemOfferImpl()
getId
public Long getId()
- Specified by:
getId in interface CandidateItemOffer
setId
public void setId(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 CloneNotSupportedException,
SecurityException,
NoSuchMethodException
- Throws:
CloneNotSupportedException
SecurityException
NoSuchMethodException
clone
public CandidateItemOffer clone()
- Specified by:
clone in interface CandidateItemOffer- Overrides:
clone in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2012. All Rights Reserved.