FileDocCategorySizeDatePackage
Product.javaAPI DocHibernate 3.2.51549Thu Nov 25 07:37:00 GMT 2004org.hibernate.test.cid

Product

public class Product extends Object
author
Gavin King

Fields Summary
private String
productId
private String
description
private BigDecimal
price
private int
numberAvailable
private int
numberOrdered
Constructors Summary
Methods Summary
public java.lang.StringgetDescription()

return
Returns the description.

		return description;
	
public intgetNumberAvailable()

return
Returns the numberAvailable.

		return numberAvailable;
	
public intgetNumberOrdered()

return
Returns the numberOrdered.

		return numberOrdered;
	
public java.math.BigDecimalgetPrice()

return
Returns the price.

		return price;
	
public java.lang.StringgetProductId()

return
Returns the productId.

		return productId;
	
public voidsetDescription(java.lang.String description)

param
description The description to set.

		this.description = description;
	
public voidsetNumberAvailable(int numberAvailable)

param
numberAvailable The numberAvailable to set.

		this.numberAvailable = numberAvailable;
	
public voidsetNumberOrdered(int numberOrdered)

param
numberOrdered The numberOrdered to set.

		this.numberOrdered = numberOrdered;
	
public voidsetPrice(java.math.BigDecimal price)

param
price The price to set.

		this.price = price;
	
public voidsetProductId(java.lang.String productId)

param
productId The productId to set.

		this.productId = productId;