com.dotmarketing.portlets.product.model
Class ProductFormat

java.lang.Object
  extended by com.dotmarketing.beans.Inode
      extended by com.dotmarketing.portlets.product.model.ProductFormat
All Implemented Interfaces:
java.io.Serializable

public class ProductFormat
extends Inode

Author:
David
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.dotmarketing.beans.Inode
inode
 
Constructor Summary
ProductFormat()
           
ProductFormat(long productInode, java.lang.String formatName, java.lang.String format)
           
ProductFormat(long productInode, java.lang.String formatName, java.lang.String itemNum, java.lang.String format, int inventoryQuantity, int reorderTrigger, float weight, int width, int height, int depth)
           
 
Method Summary
 java.util.List<ProductPrice> getBulkPrices()
           
 int getDepth()
           
 java.lang.String getFormat()
           
 java.lang.String getFormatName()
           
 boolean getHasBulkPrices()
           
 int getHeight()
           
 int getInventoryQuantity()
           
 java.lang.String getItemNum()
           
 Product getProduct()
           
 long getProductInode()
           
 ProductPrice getQuantityPrice(int quantity)
           
 ProductPrice getQuantityPrice(int quantity, java.util.List<DiscountCode> discounts)
           
 int getReorderTrigger()
           
 float getWeight()
           
 int getWidth()
           
 void setDepth(int depth)
           
 void setFormat(java.lang.String format)
           
 void setFormatName(java.lang.String formatName)
           
 void setHeight(int height)
           
 void setInventoryQuantity(int inventoryQuantity)
           
 void setItemNum(java.lang.String itemNum)
           
 void setProductInode(long productInode)
           
 void setReorderTrigger(int reorderTrigger)
           
 void setWeight(float weight)
           
 void setWidth(int width)
           
 
Methods inherited from class com.dotmarketing.beans.Inode
addChild, addChild, addParent, addParent, deleteChild, deleteChild, deleteParent, deleteParent, equals, getiDate, getIDate, getIdentifier, getInode, getMap, getOwner, getType, hasChildren, hasParents, isNew, setiDate, setIDate, setIDate, setIdentifier, setInode, setInode, setOwner, setOwner, setParents, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductFormat

public ProductFormat(long productInode,
                     java.lang.String formatName,
                     java.lang.String itemNum,
                     java.lang.String format,
                     int inventoryQuantity,
                     int reorderTrigger,
                     float weight,
                     int width,
                     int height,
                     int depth)

ProductFormat

public ProductFormat()

ProductFormat

public ProductFormat(long productInode,
                     java.lang.String formatName,
                     java.lang.String format)
Method Detail

getProductInode

public long getProductInode()

setProductInode

public void setProductInode(long productInode)

getFormatName

public java.lang.String getFormatName()

setFormatName

public void setFormatName(java.lang.String formatName)

getItemNum

public java.lang.String getItemNum()

setItemNum

public void setItemNum(java.lang.String itemNum)

getFormat

public java.lang.String getFormat()

setFormat

public void setFormat(java.lang.String format)

getInventoryQuantity

public int getInventoryQuantity()

setInventoryQuantity

public void setInventoryQuantity(int inventoryQuantity)

getReorderTrigger

public int getReorderTrigger()

setReorderTrigger

public void setReorderTrigger(int reorderTrigger)

getWeight

public float getWeight()

setWeight

public void setWeight(float weight)

getWidth

public int getWidth()

setWidth

public void setWidth(int width)

getHeight

public int getHeight()

setHeight

public void setHeight(int height)

getDepth

public int getDepth()

setDepth

public void setDepth(int depth)

getProduct

public Product getProduct()

getHasBulkPrices

public boolean getHasBulkPrices()

getBulkPrices

public java.util.List<ProductPrice> getBulkPrices()

getQuantityPrice

public ProductPrice getQuantityPrice(int quantity)

getQuantityPrice

public ProductPrice getQuantityPrice(int quantity,
                                     java.util.List<DiscountCode> discounts)


Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.