org.perfectjpattern.example.datamodel
Class Order
java.lang.Object
org.perfectjpattern.example.datamodel.Order
public class Order
- extends Object
Purchase Data model object
- Version:
- $ $Date: Dec 5, 2008 11:49:14 AM $
- Author:
- Giovanni Azua
-
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Order
public Order()
Order
public Order(Customer aCustomer,
Date aDate,
Set<Product> aProducts)
getId
public Long getId()
- Returns:
- the id
setId
public void setId(Long anId)
- Parameters:
anId
- the id to set
getDate
public Date getDate()
- Returns:
- the date
setDate
public void setDate(Date aDate)
- Parameters:
aDate
- the date to set
getProducts
public Set<Product> getProducts()
- Returns:
- the products
setProducts
public void setProducts(Set<Product> aProducts)
- Parameters:
aProducts
- the products to set
getCustomer
public Customer getCustomer()
- Returns:
- the customer
setCustomer
public void setCustomer(Customer anCustomer)
- Parameters:
anCustomer
- the customer to set
Copyright © 2007-2009. All Rights Reserved.