org.broadleafcommerce.inventory.domain
Class FulfillmentLocationImpl

java.lang.Object
  extended by org.broadleafcommerce.inventory.domain.FulfillmentLocationImpl
All Implemented Interfaces:
Serializable, FulfillmentLocation

@Entity
public class FulfillmentLocationImpl
extends Object
implements FulfillmentLocation

See Also:
Serialized Form

Field Summary
protected  org.broadleafcommerce.profile.core.domain.Address address
           
protected  Boolean defaultLocation
           
protected  Long id
           
protected  List<Inventory> inventoryList
           
protected  String name
           
protected  Boolean pickupLocation
           
protected  Boolean shippingLocation
           
 
Constructor Summary
FulfillmentLocationImpl()
           
 
Method Summary
 org.broadleafcommerce.profile.core.domain.Address getAddress()
          Get the @link Address of the fulfillment location
 Boolean getDefaultLocation()
          Retrieves if this fulfillment location as default
 Long getId()
           
 String getName()
          For convenience you can name an inventory location.
 Boolean getPickupLocation()
           
 Boolean getShippingLocation()
           
 void setAddress(org.broadleafcommerce.profile.core.domain.Address address)
          Set the @link Address of the fulfillment location
 void setDefaultLocation(Boolean defaultLocation)
          Sets whether or not this fulfillment location is the default one
 void setId(Long id)
           
 void setName(String name)
          For convenience you can name an inventory location.
 void setPickupLocation(Boolean pickupLocation)
          Sets whether or not a customer can pick up inventory at the fulfillment location
 void setShippingLocation(Boolean shippingLocation)
          Sets whether or not this fulfillment location can ship
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected Long id

name

protected String name

address

protected org.broadleafcommerce.profile.core.domain.Address address

pickupLocation

protected Boolean pickupLocation

shippingLocation

protected Boolean shippingLocation

defaultLocation

protected Boolean defaultLocation

inventoryList

protected List<Inventory> inventoryList
Constructor Detail

FulfillmentLocationImpl

public FulfillmentLocationImpl()
Method Detail

getId

public Long getId()
Specified by:
getId in interface FulfillmentLocation
Returns:
the id of the fulfillment location

setId

public void setId(Long id)
Specified by:
setId in interface FulfillmentLocation
Parameters:
id - the id of the fulfillment location

getAddress

public org.broadleafcommerce.profile.core.domain.Address getAddress()
Description copied from interface: FulfillmentLocation
Get the @link Address of the fulfillment location

Specified by:
getAddress in interface FulfillmentLocation
Returns:
the @link Address of the fulfillment location

setAddress

public void setAddress(org.broadleafcommerce.profile.core.domain.Address address)
Description copied from interface: FulfillmentLocation
Set the @link Address of the fulfillment location

Specified by:
setAddress in interface FulfillmentLocation

getPickupLocation

public Boolean getPickupLocation()
Specified by:
getPickupLocation in interface FulfillmentLocation
Returns:
a boolean value of whether or not a customer can pick up inventory at the fulfillment location

setPickupLocation

public void setPickupLocation(Boolean pickupLocation)
Description copied from interface: FulfillmentLocation
Sets whether or not a customer can pick up inventory at the fulfillment location

Specified by:
setPickupLocation in interface FulfillmentLocation

getShippingLocation

public Boolean getShippingLocation()
Specified by:
getShippingLocation in interface FulfillmentLocation
Returns:
a boolean value of whether this fulfillment location can ship

setShippingLocation

public void setShippingLocation(Boolean shippingLocation)
Description copied from interface: FulfillmentLocation
Sets whether or not this fulfillment location can ship

Specified by:
setShippingLocation in interface FulfillmentLocation

getDefaultLocation

public Boolean getDefaultLocation()
Description copied from interface: FulfillmentLocation
Retrieves if this fulfillment location as default

Specified by:
getDefaultLocation in interface FulfillmentLocation
Returns:

setDefaultLocation

public void setDefaultLocation(Boolean defaultLocation)
Description copied from interface: FulfillmentLocation
Sets whether or not this fulfillment location is the default one

Specified by:
setDefaultLocation in interface FulfillmentLocation

getName

public String getName()
Description copied from interface: FulfillmentLocation
For convenience you can name an inventory location.

Specified by:
getName in interface FulfillmentLocation
Returns:

setName

public void setName(String name)
Description copied from interface: FulfillmentLocation
For convenience you can name an inventory location.

Specified by:
setName in interface FulfillmentLocation


Copyright © 2013. All Rights Reserved.