Class Order
- java.lang.Object
-
- org.hibernate.testing.orm.domain.retail.Order
-
@Entity public class Order extends Object
-
-
Constructor Summary
Constructors Constructor Description Order()
Order(Integer id, Instant transacted, Payment payment, SalesAssociate salesAssociate)
Order(Integer id, Payment payment, SalesAssociate salesAssociate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getId()
Payment
getPayment()
SalesAssociate
getSalesAssociate()
Instant
getTransacted()
void
setId(Integer id)
void
setPayment(Payment payment)
void
setSalesAssociate(SalesAssociate salesAssociate)
void
setTransacted(Instant transacted)
-
-
-
Constructor Detail
-
Order
public Order()
-
Order
public Order(Integer id, Payment payment, SalesAssociate salesAssociate)
-
Order
public Order(Integer id, Instant transacted, Payment payment, SalesAssociate salesAssociate)
-
-
Method Detail
-
getId
public Integer getId()
-
setId
public void setId(Integer id)
-
getTransacted
public Instant getTransacted()
-
setTransacted
public void setTransacted(Instant transacted)
-
getPayment
public Payment getPayment()
-
setPayment
public void setPayment(Payment payment)
-
getSalesAssociate
public SalesAssociate getSalesAssociate()
-
setSalesAssociate
public void setSalesAssociate(SalesAssociate salesAssociate)
-
-