edu.sampleu.bookstore.bo
Class BookOrder

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by edu.sampleu.bookstore.bo.BookOrder
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, GloballyUnique, Versioned, ModelObjectBasic, BusinessObject, PersistableBusinessObject

public class BookOrder
extends PersistableBusinessObjectBase

BookOrder Business Object class file.

See Also:
Serialized Form

Field Summary
private  Book book
           
private  Long bookId
           
private  KualiPercent discount
           
private  String documentId
           
private  Long id
           
private  Integer quantity
           
private static long serialVersionUID
           
private  KualiDecimal totalPrice
           
private  KualiDecimal unitPrice
           
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
BookOrder()
           
 
Method Summary
 Book getBook()
           
 Long getBookId()
           
 KualiPercent getDiscount()
           
 String getDocumentId()
           
 Long getId()
           
 Integer getQuantity()
           
 KualiDecimal getTotalPrice()
           
 KualiDecimal getUnitPrice()
           
 void setBook(Book book)
           
 void setBookId(Long bookId)
           
 void setDiscount(KualiPercent discount)
           
 void setDocumentId(String documentId)
           
 void setId(Long id)
           
 void setQuantity(Integer quantity)
           
 void setTotalPrice(KualiDecimal totalPrice)
           
 void setUnitPrice(KualiDecimal unitPrice)
           
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder, toStringMapper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

id

private Long id

documentId

private String documentId

bookId

private Long bookId

quantity

private Integer quantity

discount

private KualiPercent discount

unitPrice

private KualiDecimal unitPrice

totalPrice

private KualiDecimal totalPrice

book

private Book book
Constructor Detail

BookOrder

public BookOrder()
Method Detail

getId

public Long getId()

setId

public void setId(Long id)

getQuantity

public Integer getQuantity()

setQuantity

public void setQuantity(Integer quantity)

getDocumentId

public String getDocumentId()

setDocumentId

public void setDocumentId(String documentId)

getBookId

public Long getBookId()

setBookId

public void setBookId(Long bookId)

getBook

public Book getBook()

setBook

public void setBook(Book book)

getDiscount

public KualiPercent getDiscount()

setDiscount

public void setDiscount(KualiPercent discount)

getUnitPrice

public KualiDecimal getUnitPrice()

setUnitPrice

public void setUnitPrice(KualiDecimal unitPrice)

getTotalPrice

public KualiDecimal getTotalPrice()

setTotalPrice

public void setTotalPrice(KualiDecimal totalPrice)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.