org.salespointframework.core.data
Class CatalogIdentifier<T extends CatalogItem>

java.lang.Object
  extended by org.salespointframework.core.data.CatalogIdentifier<T>
Type Parameters:
T - The type of catalog item that is associated to the Catalog identified.

public class CatalogIdentifier<T extends CatalogItem>
extends java.lang.Object

Identifier class for Catalogs. This can be used for getting correctly typed Catalogs from the shop using it's getCatalog() method. Thus, a CatalogIdentifier is a combination of a name and the type parameter.

Since:
3.3
Author:
Thomas Ryssel

Constructor Summary
CatalogIdentifier(java.lang.String name)
          Create a new CatalogIdentifer.
 
Method Summary
 java.lang.String getName()
          Get the identifier name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogIdentifier

public CatalogIdentifier(java.lang.String name)
Create a new CatalogIdentifer.

Parameters:
name - Identifier name.
Method Detail

getName

public java.lang.String getName()
Get the identifier name.

Returns:
Identifier name.