|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.geebis.books.model.item.Item
org.geebis.books.model.item.retail.RetailItem
org.geebis.books.model.item.retail.Product
@Name(value="product") public class Product
The Product class represents a product that is in inventory. It has units on hand, a manufacturer,
and asset account, etc.
| Constructor Summary | |
|---|---|
Product()
|
|
Product(java.lang.String name)
|
|
| Method Summary | |
|---|---|
OtherCurrentAssetAccount |
getAssetAccount()
Gets the asset account to use for this product |
Manufacturer |
getManufacturer()
Gets the Manufacturer of this item. |
java.lang.String |
getManufacturerDescription()
Gets the description of this product for use with the product's Manufacturer |
java.lang.String |
getManufacturerPartNumber()
Gets the Manufacturer's part number for this product. |
Vendor |
getPreferredVendor()
Gets the preferred vendor for this product |
java.lang.Double |
getUnitsOnHand()
Gets the units on hand for this product |
void |
setAssetAccount(OtherCurrentAssetAccount assetAccount)
Sets the asset account for this product |
void |
setManufacturer(Manufacturer manufacturer)
Sets the Manufacturer of the item. |
void |
setManufacturerDescription(java.lang.String manufacturerDescription)
Sets the Manufacturer's description of this product |
void |
setManufacturerPartNumber(java.lang.String manufacturerPartNumber)
Sets the Manufacturer's part number for this product |
void |
setPreferredVendor(Vendor preferredVendor)
Sets the preferred vendor for this product |
void |
setUnitsOnHand(java.lang.Double unitsOnHand)
Sets the units on hand for this product |
| Methods inherited from class org.geebis.books.model.item.retail.RetailItem |
|---|
getAverageCost, getRetail, getTrackable, setAverageCost, setRetail, setTrackable |
| Methods inherited from class org.geebis.books.model.item.Item |
|---|
getDescription, getId, getName, getSalesAccount, getVersion, setDescription, setId, setName, setSalesAccount, setVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Product()
public Product(java.lang.String name)
| Method Detail |
|---|
public java.lang.Double getUnitsOnHand()
public void setUnitsOnHand(java.lang.Double unitsOnHand)
unitsOnHand - the new units on hand for this productpublic java.lang.String getManufacturerPartNumber()
Manufacturer's part number for this product.
Manufacturer's part number for this productpublic void setManufacturerPartNumber(java.lang.String manufacturerPartNumber)
Manufacturer's part number for this product
manufacturerPartNumber - the new Manufacturer's part number for this productpublic java.lang.String getManufacturerDescription()
Manufacturer
Manufacturer's description of the productpublic void setManufacturerDescription(java.lang.String manufacturerDescription)
Manufacturer's description of this product
manufacturerDescription - the new Manufacturer's description for this productpublic Vendor getPreferredVendor()
public void setPreferredVendor(Vendor preferredVendor)
preferredVendor - the new preferred vendor for this productpublic Manufacturer getManufacturer()
Manufacturer of this item. An item's manufacturer represents the "brand" of the item.
Manufacturer of the itempublic void setManufacturer(Manufacturer manufacturer)
Manufacturer of the item.
manufacturer - the new Manufacturer of the itempublic OtherCurrentAssetAccount getAssetAccount()
public void setAssetAccount(OtherCurrentAssetAccount assetAccount)
assetAccount - the new inventory asset account for this product
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||