public class Order extends AbstractEntity
Constructor and Description |
---|
Order() |
Modifier and Type | Method and Description |
---|---|
void |
addOrderLine(OrderLine orderLine) |
Customer |
getCustomer() |
Date |
getOrderDate() |
List<OrderLine> |
getOrderItems() |
Integer |
getOrdernumber() |
void |
setCustomer(Customer customer) |
void |
setOrderDate(Date orderDate) |
void |
setOrderItems(List<OrderLine> orderItems) |
void |
setOrdernumber(Integer ordernumber) |
toString
public Integer getOrdernumber()
public void setOrdernumber(Integer ordernumber)
ordernumber
- the ordernumber to setpublic Date getOrderDate()
public void setOrderDate(Date orderDate)
orderDate
- the orderDate to setpublic Customer getCustomer()
public void setCustomer(Customer customer)
customer
- the customer to setpublic void setOrderItems(List<OrderLine> orderItems)
orderItems
- the orderItems to setpublic void addOrderLine(OrderLine orderLine)
Copyright © 2020. All rights reserved.