org.mobicents.examples.convergeddemo.seam.model
Class Inventory

java.lang.Object
  extended by org.mobicents.examples.convergeddemo.seam.model.Inventory
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
Inventory()
           
 
Method Summary
 long getInventoryId()
           
 Product getProduct()
           
 int getQuantity()
           
 int getSales()
           
 boolean order(int howmany)
           
 void setInventoryId(long id)
           
 void setProduct(Product product)
           
 void setQuantity(int quantity)
           
 void setSales(int sales)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Inventory

public Inventory()
Method Detail

getInventoryId

public long getInventoryId()

setInventoryId

public void setInventoryId(long id)

getProduct

public Product getProduct()

setProduct

public void setProduct(Product product)

getQuantity

public int getQuantity()

setQuantity

public void setQuantity(int quantity)

getSales

public int getSales()

setSales

public void setSales(int sales)

order

public boolean order(int howmany)


Copyright © 2010. All Rights Reserved.