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

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

public class ShipTo
extends java.lang.Object

A ShipTo.

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

Constructor Summary
ShipTo()
           
 
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 getAddress()
          Get the address.
 java.lang.String getCity()
          Get the city.
 java.lang.String getCountry()
          Get the country.
 java.lang.String getName()
          Get the name.
 Order getOrder()
          Get the order.
 void setAddress(java.lang.String address)
          Set the address.
 void setCity(java.lang.String city)
          Set the city.
 void setCountry(java.lang.String country)
          Set the country.
 void setName(java.lang.String name)
          Set the name.
 void setOrder(Order order)
          Set the order.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShipTo

public ShipTo()
Method Detail

getName

public java.lang.String getName()
Get the name.

Returns:
the name.

setName

public void setName(java.lang.String name)
Set the name.

Parameters:
name - The name to set.

getAddress

public java.lang.String getAddress()
Get the address.

Returns:
the address.

setAddress

public void setAddress(java.lang.String address)
Set the address.

Parameters:
address - The address to set.

getCity

public java.lang.String getCity()
Get the city.

Returns:
the city.

setCity

public void setCity(java.lang.String city)
Set the city.

Parameters:
city - The city to set.

getCountry

public java.lang.String getCountry()
Get the country.

Returns:
the country.

setCountry

public void setCountry(java.lang.String country)
Set the country.

Parameters:
country - The country to set.

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.

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 © 2010. All Rights Reserved.