Example of a SOAP Server Wizard generated bean class
/**
* Order.java
*
* This file was generated by LANSA Integrator SOAP Server Wizard
*/
package com.acme.service.soap ;
public class Order implements java.io.Serializable
{
private String date ;
private String dateOfOrder ;
private int order_id ;
private OrderLine[] orders ;
private long total ;
/**
* Sets the date value for this Order.
*
* @param date
*/
public void setDate ( String date )
{
this.date = date ;
}
/**
* Gets the date value for this Order.
*
* @return date
*/
public String getDate ()
{
return date ;
}
/**
* Sets the dateOfOrder value for this Order.
*
* @param dateOfOrder
*/
public void setDateOfOrder ( String dateOfOrder )
{
this.dateOfOrder = dateOfOrder ;
}
/**
* Gets the dateOfOrder value for this Order.
*
* @return dateOfOrder
*/
public String getDateOfOrder ()
{
return dateOfOrder ;
}
/**
* Sets the order_id value for this Order.
*
* @param order_id
*/
public void setOrder_id ( int order_id )
{
this.order_id = order_id ;
}
/**
* Gets the order_id value for this Order.
*
* @return order_id
*/
public int getOrder_id ()
{
return order_id ;
}
/**
* Sets the orders value for this Order.
*
* @param orders
*/
public void setOrders ( OrderLine[] orders )
{
this.orders = orders ;
}
/**
* Gets the orders value for this Order.
*
* @return orders
*/
public OrderLine[] getOrders ()
{
return orders ;
}
/**
* Sets the total value for this Order.
*
* @param total
*/
public void setTotal ( long total )
{
this.total = total ;
}
/**
* Gets the total value for this Order.
*
* @return total
*/
public long getTotal ()
{
return total ;
}
}