Package ejava.examples.orm.ejbql
Class Receipt
- java.lang.Object
-
- ejava.examples.orm.ejbql.Receipt
-
- All Implemented Interfaces:
Serializable
public class Receipt extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private doubleamountprivate longcustomerIdprivate Datedateprivate longsaleIdprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description Receipt(long saleId, long customerId, Date date, double amount)Receipt(long saleId, long customerId, Date date, BigDecimal amount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetAmount()longgetCustomerId()DategetDate()longgetSaleId()StringtoString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
saleId
private long saleId
-
customerId
private long customerId
-
date
private Date date
-
amount
private double amount
-
-
Constructor Detail
-
Receipt
public Receipt(long saleId, long customerId, Date date, BigDecimal amount)
-
Receipt
public Receipt(long saleId, long customerId, Date date, double amount)
-
-