View Javadoc

1   package edu.sampleu.bookstore.bo;
2   
3   import org.kuali.rice.core.api.util.type.KualiDecimal;
4   import org.kuali.rice.core.api.util.type.KualiPercent;
5   import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
6   
7   
8   /**
9    * BookOrder Business Object class file.
10   */
11  public class BookOrder extends PersistableBusinessObjectBase {
12  
13  	private static final long serialVersionUID = -3602318476248146613L;
14  
15  	private Long id;
16  	private String documentId;
17  	private Long bookId;
18  	private Integer quantity;
19  	private KualiPercent discount;
20  	private KualiDecimal unitPrice;
21  	private KualiDecimal totalPrice;
22  
23  	private Book book;
24  
25  	public Long getId() {
26  		return id;
27  	}
28  
29  	public void setId(Long id) {
30  		this.id = id;
31  	}
32  
33  	public Integer getQuantity() {
34  		return quantity;
35  	}
36  
37  	public void setQuantity(Integer quantity) {
38  		this.quantity = quantity;
39  	}
40  
41  	public String getDocumentId() {
42  		return documentId;
43  	}
44  
45  	public void setDocumentId(String documentId) {
46  		this.documentId = documentId;
47  	}
48  
49  	public Long getBookId() {
50  		return bookId;
51  	}
52  
53  	public void setBookId(Long bookId) {
54  		this.bookId = bookId;
55  	}
56  
57  	public Book getBook() {
58  		return book;
59  	}
60  
61  	public void setBook(Book book) {
62  		this.book = book;
63  	}
64  
65  	public KualiPercent getDiscount() {
66  		return discount;
67  	}
68  
69  	public void setDiscount(KualiPercent discount) {
70  		this.discount = discount;
71  	}
72  
73  	public KualiDecimal getUnitPrice() {
74  		return unitPrice;
75  	}
76  
77  	public void setUnitPrice(KualiDecimal unitPrice) {
78  		this.unitPrice = unitPrice;
79  	}
80  
81  	public KualiDecimal getTotalPrice() {
82  		return totalPrice;
83  	}
84  
85  	public void setTotalPrice(KualiDecimal totalPrice) {
86  		this.totalPrice = totalPrice;
87  	}
88  
89  	 
90  
91  }