package org.jboss.examples.store; import java.math.BigInteger; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.datatype.XMLGregorianCalendar; /** * <p>Java class for BuyConfirmedType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="BuyConfirmedType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="amount" type="{http://www.w3.org/2001/XMLSchema}integer" /> * <attribute name="deliveryDate" type="{http://www.w3.org/2001/XMLSchema}date" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlRootElement(name="BuyConfirmed") @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "BuyConfirmedType") public class BuyConfirmedType { @XmlAttribute(name = "id") protected String id; @XmlAttribute(name = "amount") protected BigInteger amount; @XmlAttribute(name = "deliveryDate") @XmlSchemaType(name = "date") protected XMLGregorianCalendar deliveryDate; /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } /** * Gets the value of the amount property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getAmount() { return amount; } /** * Sets the value of the amount property. * * @param value * allowed object is * {@link BigInteger } * */ public void setAmount(BigInteger value) { this.amount = value; } /** * Gets the value of the deliveryDate property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getDeliveryDate() { return deliveryDate; } /** * Sets the value of the deliveryDate property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setDeliveryDate(XMLGregorianCalendar value) { this.deliveryDate = value; } }