|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.inventory.domain.InventoryImpl
@Entity public class InventoryImpl
| Field Summary | |
|---|---|
protected Date |
expectedAvailabilityDate
|
protected FulfillmentLocation |
fulfillmentLocation
|
protected Long |
id
|
protected Integer |
quantityAvailable
|
protected Integer |
quantityOnHand
|
protected org.broadleafcommerce.core.catalog.domain.Sku |
sku
|
protected Long |
version
|
| Constructor Summary | |
|---|---|
InventoryImpl()
|
|
| Method Summary | |
|---|---|
Date |
getExpectedAvailabilityDate()
Retrieves the expected availability date |
FulfillmentLocation |
getFulfillmentLocation()
Retrieves the fulfillment location information related to this inventory |
Long |
getId()
Retrieves the unique identifier of the Inventory |
Integer |
getQuantityAvailable()
Retrieves the inventory available for sale. |
Integer |
getQuantityOnHand()
Retrieves the actual inventory in possession of the business |
org.broadleafcommerce.core.catalog.domain.Sku |
getSku()
Retrieves the sku for this Inventory |
Long |
getVersion()
Retrieves the version set by Hibernate. |
void |
setExpectedAvailabilityDate(Date expectedAvailabilityDate)
Sets the expected availability date |
void |
setFulfillmentLocation(FulfillmentLocation fulfillmentLocation)
Sets the fulfillment location information related to this inventory |
void |
setId(Long id)
Sets the unique identifier of the Inventory |
void |
setQuantityAvailable(Integer quantityAvailable)
Sets the inventory available for sale. |
void |
setQuantityOnHand(Integer quantityOnHand)
Sets the actual inventory in possession of the business |
void |
setSku(org.broadleafcommerce.core.catalog.domain.Sku sku)
Sets the sku for this Inventory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Long id
protected FulfillmentLocation fulfillmentLocation
protected org.broadleafcommerce.core.catalog.domain.Sku sku
protected Integer quantityAvailable
protected Integer quantityOnHand
protected Date expectedAvailabilityDate
protected Long version
| Constructor Detail |
|---|
public InventoryImpl()
| Method Detail |
|---|
public Long getId()
Inventory
getId in interface Inventorypublic void setId(Long id)
Inventory
setId in interface Inventorypublic FulfillmentLocation getFulfillmentLocation()
Inventory
getFulfillmentLocation in interface Inventorypublic void setFulfillmentLocation(FulfillmentLocation fulfillmentLocation)
Inventory
setFulfillmentLocation in interface Inventorypublic org.broadleafcommerce.core.catalog.domain.Sku getSku()
Inventory
getSku in interface Inventorypublic void setSku(org.broadleafcommerce.core.catalog.domain.Sku sku)
Inventory
setSku in interface Inventorypublic Integer getQuantityAvailable()
Inventory
getQuantityAvailable in interface Inventorypublic void setQuantityAvailable(Integer quantityAvailable)
Inventory
setQuantityAvailable in interface Inventorypublic Integer getQuantityOnHand()
Inventory
getQuantityOnHand in interface Inventorypublic void setQuantityOnHand(Integer quantityOnHand)
Inventory
setQuantityOnHand in interface Inventorypublic Date getExpectedAvailabilityDate()
Inventory
getExpectedAvailabilityDate in interface Inventorypublic void setExpectedAvailabilityDate(Date expectedAvailabilityDate)
Inventory
setExpectedAvailabilityDate in interface Inventorypublic Long getVersion()
Inventory
getVersion in interface Inventory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||