org.openvpms.esci.ubl.io
Class ObjectFactory

java.lang.Object
  extended by org.openvpms.esci.ubl.io.ObjectFactory

public class ObjectFactory
extends Object

This contains factory methods for customisations of the UBL complex types, in order for them to marshal corrrectly.

This is indirectly used by the UBLDocumentContext class.

Version:
$LastChangedDate: $
Author:
OpenVPMS Team

Constructor Summary
ObjectFactory()
          Default constructor.
 
Method Summary
 Invoice createInvoice()
          Creates an Invoice.
 Order createOrder()
          Creates an Order.
 OrderResponseSimple createOrderResponseSimple()
          Creates an OrderResponseSimple.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectFactory

public ObjectFactory()
Default constructor.

Method Detail

createOrder

public Order createOrder()
Creates an Order.

Returns:
a new order

createInvoice

public Invoice createInvoice()
Creates an Invoice.

Returns:
a new invoice

createOrderResponseSimple

public OrderResponseSimple createOrderResponseSimple()
Creates an OrderResponseSimple.

Returns:
a new order response


Copyright © 2010-2011 OpenVPMS. All Rights Reserved..