catalog.model.businessobject
Class Product

java.lang.Object
  extended bycatalog.model.businessobject.Product

public class Product
extends java.lang.Object

Product business object.

Author:
Derek Y. Shen

Constructor Summary
Product()
          Default constructor.
 
Method Summary
 void addCategoryId(java.lang.String id)
           
 java.util.Set getCategoryIds()
           
 java.lang.String getDescription()
           
 double getHeight()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 double getPrice()
           
 double getWidth()
           
 void setCategoryIds(java.util.Set newCategoryIds)
           
 void setDescription(java.lang.String newDescription)
           
 void setHeight(double newHeight)
           
 void setId(java.lang.String newId)
           
 void setName(java.lang.String newName)
           
 void setPrice(double newPrice)
           
 void setWidth(double newWidth)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Product

public Product()
Default constructor.

Method Detail

getId

public java.lang.String getId()

setId

public void setId(java.lang.String newId)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String newName)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String newDescription)

getWidth

public double getWidth()

setWidth

public void setWidth(double newWidth)

getHeight

public double getHeight()

setHeight

public void setHeight(double newHeight)

getPrice

public double getPrice()

setPrice

public void setPrice(double newPrice)

getCategoryIds

public java.util.Set getCategoryIds()

setCategoryIds

public void setCategoryIds(java.util.Set newCategoryIds)

addCategoryId

public void addCategoryId(java.lang.String id)


Copyright (c) 2004 The JCatalog Project.