org.salespointframework.test.help
Class TestCatalogItem

java.lang.Object
  extended by org.salespointframework.core.data.AbstractNameable
      extended by org.salespointframework.core.data.CatalogItemImpl
          extended by org.salespointframework.test.help.TestCatalogItem
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable<java.lang.Object>, Recoverable, CatalogItem, DataBasketKeys, Nameable

public class TestCatalogItem
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
TestCatalogItem(java.lang.String m_sName, Value m_vValue)
           
 
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

TestCatalogItem

public TestCatalogItem(java.lang.String m_sName,
                       Value m_vValue)
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