ProductItemImpl Class

com.beasys.commerce.ebusiness.catalog
ProductItemImpl Class

public class ProductItemImpl

    extends CatalogItemImpl
    implements ProductItem

This is the implementation class for all product items contained by the Catalog. This class exposes data accessors for product item data conforming to the Dublin Core Metadata. Refer to the DCM spec for details: Dublin Core Element Set


Hierarchy
Object
  CatalogItemImpl
    ProductItemImpl
All Implemented Interfaces

CatalogItem, ConfigurableEntity, ProductItem, Serializable

Field Summary

   
Fields from  com.beasys.commerce.ebusiness.catalog.CatalogItemImpl
delegateItem
 
Fields 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 from interface com.bea.p13n.property.ConfigurableEntity
RESERVED_PROPERTY_SET
 
Fields from interface com.beasys.commerce.ebusiness.catalog.ProductItem
DETAILED_DISPLAY_JSP_INDEX, INVISIBLE_ITEM, MAX_JSP, SUMMARY_DISPLAY_JSP_INDEX, VISIBLE_ITEM
 

Method Summary

public InventoryInfo
getAvailability()
Gets the availibility for a product item
public Money
getCurrentPrice()
Gets the current price for a product item
public String
getFormat()
Gets the format for a product item
public JspInfo
getJsp(int index)
Gets the JSP for a product item
public Money
getMsrp()
Gets the MSRP for a product item
public String
getShippingCode()
Gets the shipping code for a product item
public String
getTaxCode()
Gets the tax code for a product item
public String
getType()
Gets the type for a product item
public char
getVisible()
Gets the visilbity code for a product item
public String
toString()
Builds a string representation of this object.
 
Methods from  com.beasys.commerce.ebusiness.catalog.CatalogItemImpl
addBusinessPolicy, addPropertyValue, addPropertyValueMapped, getBusinessPolicy, getContributor, getCoverage, getCreationDate, getCreator, getDescription, getImage, getJndiName, getKey, getLanguage, getModifiedDate, getName, getPkString, getProperty, getProperty, getProperty, getPropertyAsString, getPropertyAsString, getPropertyDefault, getPropertyNoDefault, getPropertyNoDefault, getPublisher, getRelation, getRights, getSource, getSuccessor, getUniqueId, removeBusinessPolicy, removeProperty, removeProperty, removePropertyValue, removePropertyValueMapped, removeSuccessor, setProperty, setProperty, setSuccessor,
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface com.beasys.commerce.ebusiness.catalog.CatalogItem
getContributor, getCoverage, getCreationDate, getCreator, getDescription, getImage, getKey, getLanguage, getModifiedDate, getName, getPublisher, getRelation, getRights, getSource
 
Methods from interface com.bea.p13n.property.ConfigurableEntity
getJndiName, getPkString, getProperty, getPropertyAsString, getPropertyNoDefault, getUniqueId, removeProperty, setProperty
 
Methods from interface com.beasys.commerce.ebusiness.catalog.ProductItem
getAvailability, getCurrentPrice, getFormat, getJsp, getMsrp, getShippingCode, getTaxCode, getType, getVisible
 

Method Detail

getAvailability() Method

public InventoryInfo getAvailability()
Gets the availibility for a product item

Returns

the current availability for the product item

getCurrentPrice() Method

public Money getCurrentPrice()
Gets the current price for a product item

Returns

the current price for the product item

getFormat() Method

public String getFormat()
Gets the format for a product item

Returns

the format for the product item

getJsp(int) Method

public JspInfo getJsp(int index)
Gets the JSP for a product item

Parameters

index
the JSP to retrieve, should be either SUMMARY_DISPLAY_JSP_INDEX or DETAILED_DISPLAY_JSP_INDEX

Returns

the JspInfo object for the JSP

getMsrp() Method

public Money getMsrp()
Gets the MSRP for a product item

Returns

the Msrp for the product item

getShippingCode() Method

public String getShippingCode()
Gets the shipping code for a product item

Returns

the shipping code for the product item

getTaxCode() Method

public String getTaxCode()
Gets the tax code for a product item

Returns

the tax code for the product item

getType() Method

public String getType()
Gets the type for a product item

Returns

the type for the product item

getVisible() Method

public char getVisible()
Gets the visilbity code for a product item

Returns

the visiblity code for the product item

toString() Method

public String toString()
Builds a string representation of this object.

Overrides
CatalogItemImpl.toString()

Returns

the string