org.hibernate.test.cid
Class Product
java.lang.Object
org.hibernate.test.cid.Product
public class Product
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Product
public Product()
getDescription
public String getDescription()
- Returns:
- Returns the description.
setDescription
public void setDescription(String description)
- Parameters:
description
- The description to set.
getNumberAvailable
public int getNumberAvailable()
- Returns:
- Returns the numberAvailable.
setNumberAvailable
public void setNumberAvailable(int numberAvailable)
- Parameters:
numberAvailable
- The numberAvailable to set.
getNumberOrdered
public int getNumberOrdered()
- Returns:
- Returns the numberOrdered.
setNumberOrdered
public void setNumberOrdered(int numberOrdered)
- Parameters:
numberOrdered
- The numberOrdered to set.
getProductId
public String getProductId()
- Returns:
- Returns the productId.
setProductId
public void setProductId(String productId)
- Parameters:
productId
- The productId to set.
getPrice
public BigDecimal getPrice()
- Returns:
- Returns the price.
setPrice
public void setPrice(BigDecimal price)
- Parameters:
price
- The price to set.
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.