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 double
amount
private long
customerId
private Date
date
private long
saleId
private static long
serialVersionUID
-
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 double
getAmount()
long
getCustomerId()
Date
getDate()
long
getSaleId()
String
toString()
-
-
-
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)
-
-