org.salespointframework.test.web
Class AbstractCatalogTest.MyItem

java.lang.Object
  extended by org.salespointframework.core.data.AbstractNameable
      extended by org.salespointframework.core.data.CatalogItemImpl
          extended by org.salespointframework.test.web.AbstractCatalogTest.MyItem
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable<java.lang.Object>, Recoverable, CatalogItem, DataBasketKeys, Nameable
Enclosing class:
AbstractCatalogTest

public static class AbstractCatalogTest.MyItem
extends CatalogItemImpl


Field Summary
 
Fields inherited from class org.salespointframework.core.data.AbstractNameable
m_ncContext, m_pcsPropertyListeners, SOME_PROPERTY
 
Fields inherited from interface org.salespointframework.core.data.interfaces.CatalogItem
VALUE_PROPERTY
 
Fields inherited from interface org.salespointframework.core.data.interfaces.Nameable
NAME_PROPERTY
 
Fields inherited from interface org.salespointframework.core.data.interfaces.DataBasketKeys
CATALOG_ITEM_MAIN_KEY, STOCK_ITEM_MAIN_KEY
 
Constructor Summary
AbstractCatalogTest.MyItem(java.lang.String name, Value value)
           
 
Method Summary
protected  CatalogItemImpl getShallowClone()
          Get a shallow clone of the CatalogItem.
 
Methods inherited from class org.salespointframework.core.data.CatalogItemImpl
addValueListener, compareTo, equals, firePropertyChanged, getCatalog, getImage, getImageBytes, getInternalShallowClone, getValue, isEditable, recover, removeValueListener, setImage, setImageBytes, setValue, toString
 
Methods inherited from class org.salespointframework.core.data.AbstractNameable
addNameListener, addPropertyChangeListener, attach, detachNC, getName, removeNameListener, removePropertyChangeListener, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.salespointframework.core.data.interfaces.Nameable
addNameListener, addPropertyChangeListener, attach, detachNC, getName, removeNameListener, removePropertyChangeListener, setName
 

Constructor Detail

AbstractCatalogTest.MyItem

public AbstractCatalogTest.MyItem(java.lang.String name,
                                  Value value)
Method Detail

getShallowClone

protected CatalogItemImpl getShallowClone()
Description copied from class: CatalogItemImpl
Get a shallow clone of the CatalogItem. For normal CatalogItems there is no difference between a shallow and a deep clone.

Specified by:
getShallowClone in class CatalogItemImpl