org.broadleafcommerce.core.offer.domain
Class FulfillmentGroupAdjustmentImpl

java.lang.Object
  extended by org.broadleafcommerce.core.offer.domain.FulfillmentGroupAdjustmentImpl
All Implemented Interfaces:
Serializable, CurrencyCodeIdentifiable, Adjustment, FulfillmentGroupAdjustment

@Entity
public class FulfillmentGroupAdjustmentImpl
extends Object
implements FulfillmentGroupAdjustment, CurrencyCodeIdentifiable

See Also:
Serialized Form

Field Summary
protected  FulfillmentGroup fulfillmentGroup
           
protected  Long id
           
protected  Offer offer
           
protected  String reason
           
static long serialVersionUID
           
protected  BigDecimal value
           
 
Constructor Summary
FulfillmentGroupAdjustmentImpl()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCurrencyCode()
           
 FulfillmentGroup getFulfillmentGroup()
           
 Long getId()
           
 Offer getOffer()
           
 String getReason()
           
 Money getValue()
           
 int hashCode()
           
 void init(FulfillmentGroup fulfillmentGroup, Offer offer, String reason)
           
 void setFulfillmentGroup(FulfillmentGroup fulfillmentGroup)
           
 void setId(Long id)
           
 void setOffer(Offer offer)
           
 void setReason(String reason)
           
 void setValue(Money value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values

id

protected Long id

fulfillmentGroup

protected FulfillmentGroup fulfillmentGroup

offer

protected Offer offer

reason

protected String reason

value

protected BigDecimal value
Constructor Detail

FulfillmentGroupAdjustmentImpl

public FulfillmentGroupAdjustmentImpl()
Method Detail

init

public void init(FulfillmentGroup fulfillmentGroup,
                 Offer offer,
                 String reason)
Specified by:
init in interface FulfillmentGroupAdjustment

getId

public Long getId()
Specified by:
getId in interface Adjustment

setId

public void setId(Long id)
Specified by:
setId in interface Adjustment

getFulfillmentGroup

public FulfillmentGroup getFulfillmentGroup()
Specified by:
getFulfillmentGroup in interface FulfillmentGroupAdjustment

setFulfillmentGroup

public void setFulfillmentGroup(FulfillmentGroup fulfillmentGroup)
Specified by:
setFulfillmentGroup in interface FulfillmentGroupAdjustment

getOffer

public Offer getOffer()
Specified by:
getOffer in interface Adjustment

setOffer

public void setOffer(Offer offer)

getReason

public String getReason()
Specified by:
getReason in interface Adjustment

setReason

public void setReason(String reason)
Specified by:
setReason in interface Adjustment

getValue

public Money getValue()
Specified by:
getValue in interface Adjustment

setValue

public void setValue(Money value)
Specified by:
setValue in interface Adjustment
Specified by:
setValue in interface FulfillmentGroupAdjustment

getCurrencyCode

public String getCurrencyCode()
Specified by:
getCurrencyCode in interface CurrencyCodeIdentifiable

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2013. All Rights Reserved.