public class Item extends Object
Constructor and Description |
---|
Item() |
Modifier and Type | Method and Description |
---|---|
void |
afterUnmarshal(Unmarshaller unmarshaller,
Object parent)
JAXB Callback method used to reassociate the item with the owning Order.
|
String |
getNote()
Get the note.
|
Order |
getOrder()
Get the order.
|
Double |
getPrice()
Get the price.
|
Integer |
getQuantity()
Get the quantity.
|
String |
getTitle()
Get the title.
|
void |
setNote(String note)
Set the note.
|
void |
setOrder(Order order)
Set the order.
|
void |
setPrice(Double price)
Set the price.
|
void |
setQuantity(Integer quantity)
Set the quantity.
|
void |
setTitle(String title)
Set the title.
|
public Order getOrder()
public void setOrder(Order order)
order
- The order to set.public String getTitle()
public void setTitle(String title)
title
- The title to set.public String getNote()
public void setNote(String note)
note
- The note to set.public Integer getQuantity()
public void setQuantity(Integer quantity)
quantity
- The quantity to set.public Double getPrice()
public void setPrice(Double price)
price
- The price to set.public void afterUnmarshal(Unmarshaller unmarshaller, Object parent)
unmarshaller
- the JAXB Unmarshaller
.parent
- the owning Contact
instance.Copyright © 2015 JBoss by Red Hat. All rights reserved.