org.broadleafcommerce.core.order.domain
Class OrderMultishipOptionImpl

java.lang.Object
  extended by org.broadleafcommerce.core.order.domain.OrderMultishipOptionImpl
All Implemented Interfaces:
OrderMultishipOption

@Entity
public class OrderMultishipOptionImpl
extends Object
implements OrderMultishipOption


Field Summary
protected  Address address
           
protected  FulfillmentOption fulfillmentOption
           
protected  Long id
           
protected  Order order
           
protected  OrderItem orderItem
           
 
Constructor Summary
OrderMultishipOptionImpl()
           
 
Method Summary
 Address getAddress()
          Gets the associated Address with this OrderMultishipOption
 FulfillmentOption getFulfillmentOption()
          Gets the associated FulfillmentOption with this OrderMultishipOption
 Long getId()
          Returns the internal id of this OrderMultishipOption
 Order getOrder()
          Returns the Order associated with this OrderMultishipOption
 OrderItem getOrderItem()
          Gets the OrderItem associated with this OrderMultishipOption.
 void setAddress(Address address)
          Sets the associated Address with this OrderMultishipOption
 void setFulfillmentOption(FulfillmentOption fulfillmentOption)
          Sets the associated FulfillmentOption with this OrderMultishipOption
 void setId(Long id)
          Sets the internal id of this OrderMultishipOption
 void setOrder(Order order)
          Sets the associated Order with this OrderMultishipOption
 void setOrderItem(OrderItem orderItem)
          Sets the associated OrderItem with this OrderMultishipOption
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected Long id

order

protected Order order

orderItem

protected OrderItem orderItem

address

protected Address address

fulfillmentOption

protected FulfillmentOption fulfillmentOption
Constructor Detail

OrderMultishipOptionImpl

public OrderMultishipOptionImpl()
Method Detail

getId

public Long getId()
Description copied from interface: OrderMultishipOption
Returns the internal id of this OrderMultishipOption

Specified by:
getId in interface OrderMultishipOption
Returns:
the internal id

setId

public void setId(Long id)
Description copied from interface: OrderMultishipOption
Sets the internal id of this OrderMultishipOption

Specified by:
setId in interface OrderMultishipOption
Parameters:
id - the internal id

getOrder

public Order getOrder()
Description copied from interface: OrderMultishipOption
Returns the Order associated with this OrderMultishipOption

Specified by:
getOrder in interface OrderMultishipOption
Returns:
the associated Order

setOrder

public void setOrder(Order order)
Description copied from interface: OrderMultishipOption
Sets the associated Order with this OrderMultishipOption

Specified by:
setOrder in interface OrderMultishipOption
Parameters:
order - the associated order

getOrderItem

public OrderItem getOrderItem()
Description copied from interface: OrderMultishipOption
Gets the OrderItem associated with this OrderMultishipOption. Note that the default Broadleaf implementation will produce an equal number of instances of OrderMultishipOption to the quantity of the OrderItem

Specified by:
getOrderItem in interface OrderMultishipOption
Returns:
the associated OrderItem

setOrderItem

public void setOrderItem(OrderItem orderItem)
Description copied from interface: OrderMultishipOption
Sets the associated OrderItem with this OrderMultishipOption

Specified by:
setOrderItem in interface OrderMultishipOption
Parameters:
orderItem - the associated OrderItem
See Also:
OrderMultishipOption.getOrderItem()

getAddress

public Address getAddress()
Description copied from interface: OrderMultishipOption
Gets the associated Address with this OrderMultishipOption

Specified by:
getAddress in interface OrderMultishipOption
Returns:
the associated Address

setAddress

public void setAddress(Address address)
Description copied from interface: OrderMultishipOption
Sets the associated Address with this OrderMultishipOption

Specified by:
setAddress in interface OrderMultishipOption
Parameters:
address - the associated Address

getFulfillmentOption

public FulfillmentOption getFulfillmentOption()
Description copied from interface: OrderMultishipOption
Gets the associated FulfillmentOption with this OrderMultishipOption

Specified by:
getFulfillmentOption in interface OrderMultishipOption
Returns:
the associated FulfillmentOption

setFulfillmentOption

public void setFulfillmentOption(FulfillmentOption fulfillmentOption)
Description copied from interface: OrderMultishipOption
Sets the associated FulfillmentOption with this OrderMultishipOption

Specified by:
setFulfillmentOption in interface OrderMultishipOption
Parameters:
fulfillmentOption - the associated FulfillmentOption


Copyright © 2012. All Rights Reserved.