|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.beasys.commerce.ebusiness.catalog.MutableCatalogItemImpl
com.beasys.commerce.ebusiness.catalog.MutableProductItemImpl
public class MutableProductItemImpl
This is the implentation class for all mutable product items contained by the Catalog. This class exposes data accessors and mutators for product item data conforming to the Dublin Core Metadata. Refer to the DCM spec for details.
Field Summary |
---|
Fields inherited from interface com.beasys.commerce.ebusiness.catalog.ProductItem |
---|
DETAILED_DISPLAY_JSP_INDEX, INVISIBLE_ITEM, MAX_JSP, SUMMARY_DISPLAY_JSP_INDEX, VISIBLE_ITEM |
Fields inherited from interface com.beasys.commerce.ebusiness.catalog.CatalogItem |
---|
LARGE_IMAGE_INDEX, LONG_DESCRIPTION_INDEX, MAX_DESCRIPTION, MAX_IMAGES, SHORT_DESCRIPTION_INDEX, SMALL_IMAGE_INDEX |
Fields inherited from interface com.bea.p13n.property.ConfigurableEntity |
---|
RESERVED_PROPERTY_SET |
Fields inherited from interface com.beasys.commerce.ebusiness.catalog.CatalogItem |
---|
LARGE_IMAGE_INDEX, LONG_DESCRIPTION_INDEX, MAX_DESCRIPTION, MAX_IMAGES, SHORT_DESCRIPTION_INDEX, SMALL_IMAGE_INDEX |
Fields inherited from interface com.bea.p13n.property.ConfigurableEntity |
---|
RESERVED_PROPERTY_SET |
Method Summary | |
---|---|
InventoryInfo |
getAvailability()
Gets the availibility for a product item |
Money |
getCurrentPrice()
Gets the current price for a product item |
String |
getFormat()
Gets the format for a product item |
JspInfo |
getJsp(int index)
Gets the JSP for a product item |
Money |
getMsrp()
Gets the MSRP for a product item |
String |
getShippingCode()
Gets the shipping code for a product item |
String |
getTaxCode()
Gets the tax code for a product item |
String |
getType()
Gets the type for a product item |
char |
getVisible()
Gets the visilbity code for a product item |
void |
setAvailability(InventoryInfo inventoryInfo)
Sets the availibility for a product item |
void |
setCurrentPrice(Money price)
Sets the current price for a product item |
void |
setFormat(String format)
Sets the format for a product item |
void |
setJsp(int index,
JspInfo jspInfo)
Sets the JSP for a product item |
void |
setMsrp(Money price)
Sets the MSRP for a product item |
void |
setShippingCode(String shippingCode)
Sets the shipping code for a product item |
void |
setTaxCode(String taxCode)
Sets the tax code for a product item |
void |
setType(String type)
Sets the type for a product item |
void |
setVisible(char visible)
Sets the visilbity code for a product item |
String |
toString()
Builds a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.beasys.commerce.ebusiness.catalog.CatalogItem |
---|
getContributor, getCoverage, getCreationDate, getCreator, getDescription, getImage, getKey, getLanguage, getModifiedDate, getName, getPublisher, getRelation, getRights, getSource |
Methods inherited from interface com.bea.p13n.property.ConfigurableEntity |
---|
getJndiName, getPkString, getProperty, getPropertyAsString, getPropertyNoDefault, getUniqueId, removeProperty, setProperty |
Methods inherited from interface com.beasys.commerce.ebusiness.catalog.MutableCatalogItem |
---|
setContributor, setCoverage, setCreationDate, setCreator, setDescription, setImage, setLanguage, setModifiedDate, setName, setPublisher, setRelation, setRights, setSource |
Methods inherited from interface com.beasys.commerce.ebusiness.catalog.CatalogItem |
---|
getContributor, getCoverage, getCreationDate, getCreator, getDescription, getImage, getKey, getLanguage, getModifiedDate, getName, getPublisher, getRelation, getRights, getSource |
Methods inherited from interface com.bea.p13n.property.ConfigurableEntity |
---|
getJndiName, getPkString, getProperty, getPropertyAsString, getPropertyNoDefault, getUniqueId, removeProperty, setProperty |
Method Detail |
---|
public JspInfo getJsp(int index)
getJsp
in interface ProductItem
index
- the JSP to retrieve, should be either SUMMARY_DISPLAY_JSP_INDEX or DETAILED_DISPLAY_JSP_INDEX
public void setJsp(int index, JspInfo jspInfo)
setJsp
in interface MutableProductItem
index
- the JSP to set, should be either SUMMARY_DISPLAY_JSP_INDEX or DETAILED_DISPLAY_JSP_INDEXjspInfo
- the new JspInfo object for the JSPpublic String getFormat()
getFormat
in interface ProductItem
public void setFormat(String format)
setFormat
in interface MutableProductItem
format
- the new format for the product itempublic String getType()
getType
in interface ProductItem
public void setType(String type)
setType
in interface MutableProductItem
type
- the new type for the product itempublic String getTaxCode()
getTaxCode
in interface ProductItem
public void setTaxCode(String taxCode)
setTaxCode
in interface MutableProductItem
taxCode
- the new tax code for the product itempublic String getShippingCode()
getShippingCode
in interface ProductItem
public void setShippingCode(String shippingCode)
setShippingCode
in interface MutableProductItem
shippingCode
- the new shipping code for the product itempublic Money getMsrp()
getMsrp
in interface ProductItem
public void setMsrp(Money price)
setMsrp
in interface MutableProductItem
price
- the new Msrp for the product itempublic Money getCurrentPrice()
getCurrentPrice
in interface ProductItem
public void setCurrentPrice(Money price)
setCurrentPrice
in interface MutableProductItem
price
- the current price for the product itempublic InventoryInfo getAvailability()
getAvailability
in interface ProductItem
public void setAvailability(InventoryInfo inventoryInfo)
setAvailability
in interface MutableProductItem
inventoryInfo
- the new availability for the product itempublic char getVisible()
getVisible
in interface ProductItem
public void setVisible(char visible)
setVisible
in interface MutableProductItem
visible
- the new visiblity code for the product itempublic String toString()
toString
in class MutableCatalogItemImpl
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |