@Entity public class LineItem extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
LineItem.LineItemId
Separate identity class.
|
Modifier | Constructor and Description |
---|---|
protected |
LineItem() |
Modifier and Type | Method and Description |
---|---|
Book |
getBook()
Gets the Book for this line item.
|
int |
getIndex()
Gets the 1-based index this line item in its parent PurchaseOrder.
|
PurchaseOrder |
getOrder()
Gets the parent PurchaseOrder of this line item.
|
int |
getQuantity()
Gets the quantity of the book for this line item.
|
public Book getBook()
public int getQuantity()
public PurchaseOrder getOrder()
public int getIndex()
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.