/** * Mule Coupa Cloud Connector * * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com * * The software in this package is published under the terms of the CPAL v1.0 * license, a copy of which has been included with this distribution in the * LICENSE.txt file. * * Coupa Connector com.coupa package contains portions of code based on Coupa4j * http://code.google.com/p/coupa4j/, under a MIT license: * http://www.opensource.org/licenses/mit-license.php. */ // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2012.01.11 at 10:56:43 AM ART // package com.coupa.resources; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElements; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for resources complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="resources"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <choice maxOccurs="unbounded" minOccurs="0"> * <element name="currency" type="{}currency"/> * <element name="account" type="{}account"/> * <element name="address" type="{}address"/> * <element name="user" type="{}user"/> * <element name="supplier" type="{}supplier"/> * <element name="requisition-header" type="{}requisition-header"/> * <element name="order-header" type="{}order-header"/> * <element name="invoice-header" type="{}invoice-header"/> * <element name="expense-report" type="{}expense-report"/> * <element name="inventory-transaction" type="{}inventory-transaction"/> * </choice> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "resources", propOrder = { "resources" }) public class Resources { @XmlElements({ @XmlElement(name = "requisition-header", type = RequisitionHeader.class), @XmlElement(name = "expense-report", type = ExpenseReport.class), @XmlElement(name = "supplier", type = Supplier.class), @XmlElement(name = "user", type = User.class), @XmlElement(name = "invoice-header", type = InvoiceHeader.class), @XmlElement(name = "account", type = Account.class), @XmlElement(name = "currency", type = Currency.class), @XmlElement(name = "order-header", type = OrderHeader.class), @XmlElement(name = "inventory-transaction", type = InventoryTransaction.class), @XmlElement(name = "address", type = Address.class) }) protected List<Resource> resources; /** * Gets the value of the currencyOrAccountOrAddress property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the currencyOrAccountOrAddress property. * * <p> * For example, to add a new item, do as follows: * <pre> * getCurrencyOrAccountOrAddress().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link RequisitionHeader } * {@link ExpenseReport } * {@link Supplier } * {@link User } * {@link InvoiceHeader } * {@link Account } * {@link Currency } * {@link OrderHeader } * {@link InventoryTransaction } * {@link Address } * * */ public List<Resource> getResources() { if (resources == null) { resources = new ArrayList<Resource>(); } return this.resources; } }