
com.palominolabs.crm.sf.soap.jaxwsstub.metadata.RetrieveResult Maven / Gradle / Ivy
package com.palominolabs.crm.sf.soap.jaxwsstub.metadata;
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.XmlType;
/**
* Java class for RetrieveResult complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="RetrieveResult">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="fileProperties" type="{http://soap.sforce.com/2006/04/metadata}FileProperties" maxOccurs="unbounded" minOccurs="0"/>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="messages" type="{http://soap.sforce.com/2006/04/metadata}RetrieveMessage" maxOccurs="unbounded" minOccurs="0"/>
* <element name="zipFile" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RetrieveResult", propOrder = {
"fileProperties",
"id",
"messages",
"zipFile"
})
public class RetrieveResult {
protected List fileProperties;
@XmlElement(required = true)
protected String id;
protected List messages;
@XmlElement(required = true)
protected byte[] zipFile;
/**
* Gets the value of the fileProperties property.
*
*
* 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 set
method for the fileProperties property.
*
*
* For example, to add a new item, do as follows:
*
* getFileProperties().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FileProperties }
*
*
*/
public List getFileProperties() {
if (fileProperties == null) {
fileProperties = new ArrayList();
}
return this.fileProperties;
}
/**
* 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 messages property.
*
*
* 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 set
method for the messages property.
*
*
* For example, to add a new item, do as follows:
*
* getMessages().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RetrieveMessage }
*
*
*/
public List getMessages() {
if (messages == null) {
messages = new ArrayList();
}
return this.messages;
}
/**
* Gets the value of the zipFile property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getZipFile() {
return zipFile;
}
/**
* Sets the value of the zipFile property.
*
* @param value
* allowed object is
* byte[]
*/
public void setZipFile(byte[] value) {
this.zipFile = ((byte[]) value);
}
}