org.jboss.resteasy.test.providers.jaxb.data
Class Item

java.lang.Object
  extended by org.jboss.resteasy.test.providers.jaxb.data.Item

public class Item
extends java.lang.Object

A Item.

Version:
$Revision:$
Author:
Ryan J. McDonough

Constructor Summary
Item()
           
 
Method Summary
 void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
          JAXB Callback method used to reassociate the item with the owning Order.
 java.lang.String getNote()
          Get the note.
 Order getOrder()
          Get the order.
 java.lang.Double getPrice()
          Get the price.
 java.lang.Integer getQuantity()
          Get the quantity.
 java.lang.String getTitle()
          Get the title.
 void setNote(java.lang.String note)
          Set the note.
 void setOrder(Order order)
          Set the order.
 void setPrice(java.lang.Double price)
          Set the price.
 void setQuantity(java.lang.Integer quantity)
          Set the quantity.
 void setTitle(java.lang.String title)
          Set the title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Item

public Item()
Method Detail

getOrder

public Order getOrder()
Get the order.

Returns:
the order.

setOrder

public void setOrder(Order order)
Set the order.

Parameters:
order - The order to set.

getTitle

public java.lang.String getTitle()
Get the title.

Returns:
the title.

setTitle

public void setTitle(java.lang.String title)
Set the title.

Parameters:
title - The title to set.

getNote

public java.lang.String getNote()
Get the note.

Returns:
the note.

setNote

public void setNote(java.lang.String note)
Set the note.

Parameters:
note - The note to set.

getQuantity

public java.lang.Integer getQuantity()
Get the quantity.

Returns:
the quantity.

setQuantity

public void setQuantity(java.lang.Integer quantity)
Set the quantity.

Parameters:
quantity - The quantity to set.

getPrice

public java.lang.Double getPrice()
Get the price.

Returns:
the price.

setPrice

public void setPrice(java.lang.Double price)
Set the price.

Parameters:
price - The price to set.

afterUnmarshal

public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
                           java.lang.Object parent)
JAXB Callback method used to reassociate the item with the owning Order.

Parameters:
unmarshaller - the JAXB Unmarshaller.
parent - the owning Contact instance.


Copyright © 2009. All Rights Reserved.