org.hibernate.test.cid
Class PurchaseDetail
java.lang.Object
org.hibernate.test.cid.PurchaseDetail
public class PurchaseDetail
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PurchaseDetail
public PurchaseDetail(PurchaseRecord record,
String productId,
int quantity)
PurchaseDetail
public PurchaseDetail()
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.