ESales.java
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.08.22 at 12:17:55 PM UTC
//
package ejava.projects.esales.dto;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://ejava.info/eSales/1.0.2007.2}address" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://ejava.info/eSales/1.0.2007.2}account" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://ejava.info/eSales/1.0.2007.2}auction" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://ejava.info/eSales/1.0.2007.2}image" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://ejava.info/eSales/1.0.2007.2}bid" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"address",
"account",
"auction",
"image",
"bid"
})
@XmlRootElement(name = "eSales")
public class ESales {
@XmlElement(namespace = "http://ejava.info/eSales/1.0.2007.2")
protected List<Address> address;
@XmlElement(namespace = "http://ejava.info/eSales/1.0.2007.2")
protected List<Account> account;
@XmlElement(namespace = "http://ejava.info/eSales/1.0.2007.2")
protected List<Auction> auction;
@XmlElement(namespace = "http://ejava.info/eSales/1.0.2007.2")
protected List<Image> image;
@XmlElement(namespace = "http://ejava.info/eSales/1.0.2007.2")
protected List<Bid> bid;
/**
* Default no-arg constructor
*
*/
public ESales() {
super();
}
/**
* Fully-initialising value constructor
*
*/
public ESales(final List<Address> address, final List<Account> account, final List<Auction> auction, final List<Image> image, final List<Bid> bid) {
this.address = address;
this.account = account;
this.auction = auction;
this.image = image;
this.bid = bid;
}
/**
* Gets the value of the address 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 address property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAddress().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Address }
*
*
*/
public List<Address> getAddress() {
if (address == null) {
address = new ArrayList<Address>();
}
return this.address;
}
/**
* Gets the value of the account 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 account property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAccount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Account }
*
*
*/
public List<Account> getAccount() {
if (account == null) {
account = new ArrayList<Account>();
}
return this.account;
}
/**
* Gets the value of the auction 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 auction property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAuction().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Auction }
*
*
*/
public List<Auction> getAuction() {
if (auction == null) {
auction = new ArrayList<Auction>();
}
return this.auction;
}
/**
* Gets the value of the image 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 image property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getImage().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Image }
*
*
*/
public List<Image> getImage() {
if (image == null) {
image = new ArrayList<Image>();
}
return this.image;
}
/**
* Gets the value of the bid 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 bid property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getBid().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Bid }
*
*
*/
public List<Bid> getBid() {
if (bid == null) {
bid = new ArrayList<Bid>();
}
return this.bid;
}
}