View Javadoc

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