org.hibernate.test.cid
Class PurchaseDetail

java.lang.Object
  extended by org.hibernate.test.cid.PurchaseDetail

public class PurchaseDetail
extends Object


Constructor Summary
PurchaseDetail()
           
PurchaseDetail(PurchaseRecord record, String productId, int quantity)
           
 
Method Summary
 String getProductId()
           
 PurchaseRecord getPurchaseRecord()
           
 int getQuantity()
           
 void setProductId(String productId)
           
 void setPurchaseRecord(PurchaseRecord purchaseRecord)
           
 void setQuantity(int quantity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PurchaseDetail

public PurchaseDetail(PurchaseRecord record,
                      String productId,
                      int quantity)

PurchaseDetail

public PurchaseDetail()
Method Detail

getPurchaseRecord

public PurchaseRecord getPurchaseRecord()
Returns:
the purchaseRecord

setPurchaseRecord

public void setPurchaseRecord(PurchaseRecord purchaseRecord)
Parameters:
purchaseRecord - the purchaseRecord to set

getQuantity

public int getQuantity()
Returns:
the quantity

setQuantity

public void setQuantity(int quantity)
Parameters:
quantity - the quantity to set

getProductId

public String getProductId()
Returns:
the productId

setProductId

public void setProductId(String productId)
Parameters:
productId - the productId to set


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.