com.sun.j2ee.blueprints.shoppingcart.catalog.model
Class Category
java.lang.Object
|
+--com.sun.j2ee.blueprints.shoppingcart.catalog.model.Category
- public class Category
- extends java.lang.Object
- implements java.io.Serializable
This class represents different categories of pets in the Java
Pet Store Demo. Each category can have one or more products under
it and each product in turn can have one or more inventory items
under it. For example, the Java Pet Store Demo currently has five
categories: birds, cats, dogs, fish, and reptiles.
- See Also:
- Serialized Form
Constructor Summary |
Category(java.lang.String id,
java.lang.String name,
java.lang.String description)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Category
public Category(java.lang.String id,
java.lang.String name,
java.lang.String description)
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.