com.sun.j2ee.blueprints.shoppingcart.catalog.model
Class Product

java.lang.Object
  |
  +--com.sun.j2ee.blueprints.shoppingcart.catalog.model.Product

public class Product
extends java.lang.Object
implements java.io.Serializable

This class represents different kinds of pets for a particular category. For example, in the Java Pet Store Demo, the category for 'BIRDS' could have two products: 'Amazon Parrot' and 'Finch'.

See Also:
Serialized Form

Constructor Summary
Product(java.lang.String id, java.lang.String name, java.lang.String description)
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Product

public Product(java.lang.String id,
               java.lang.String name,
               java.lang.String description)
Method Detail

getId

public java.lang.String getId()

getName

public java.lang.String getName()

getDescription

public java.lang.String getDescription()


Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.