/** * 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:25 AM ART // package com.coupa.transaction; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <extension base="{}transaction"> * <sequence> * <element ref="{}Header"/> * <element ref="{}Request"/> * </sequence> * <attribute name="payloadID" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> * <attribute name="timestamp" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> * <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "header", "request" }) @XmlRootElement(name = "cXML") public class CXML extends Transaction { @XmlElement(name = "Header", required = true) protected Header header; @XmlElement(name = "Request", required = true) protected Request request; @XmlAttribute(required = true) @XmlSchemaType(name = "anySimpleType") protected String payloadID; @XmlAttribute(required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String timestamp; @XmlAttribute(required = true) protected String version; /** * Gets the value of the header property. * * @return * possible object is * {@link Header } * */ public Header getHeader() { return header; } /** * Sets the value of the header property. * * @param value * allowed object is * {@link Header } * */ public void setHeader(Header value) { this.header = value; } /** * Gets the value of the request property. * * @return * possible object is * {@link Request } * */ public Request getRequest() { return request; } /** * Sets the value of the request property. * * @param value * allowed object is * {@link Request } * */ public void setRequest(Request value) { this.request = value; } /** * Gets the value of the payloadID property. * * @return * possible object is * {@link String } * */ public String getPayloadID() { return payloadID; } /** * Sets the value of the payloadID property. * * @param value * allowed object is * {@link String } * */ public void setPayloadID(String value) { this.payloadID = value; } /** * Gets the value of the timestamp property. * * @return * possible object is * {@link String } * */ public String getTimestamp() { return timestamp; } /** * Sets the value of the timestamp property. * * @param value * allowed object is * {@link String } * */ public void setTimestamp(String value) { this.timestamp = value; } /** * Gets the value of the version property. * * @return * possible object is * {@link String } * */ public String getVersion() { return version; } /** * Sets the value of the version property. * * @param value * allowed object is * {@link String } * */ public void setVersion(String value) { this.version = value; } }