com.bytekast.netsuite.client.EstimatePartnersList Maven / Gradle / Ivy
Show all versions of netsuite-suitetalk Show documentation
package com.bytekast.netsuite.client;
import java.io.Serializable;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for EstimatePartnersList complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="EstimatePartnersList">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="partners" type="{urn:common_2017_1.platform.webservices.netsuite.com}Partners" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="replaceAll" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EstimatePartnersList", namespace = "urn:sales_2017_1.transactions.webservices.netsuite.com", propOrder = {
"partners"
})
public class EstimatePartnersList
implements Serializable
{
protected List partners;
@XmlAttribute(name = "replaceAll")
protected Boolean replaceAll;
/**
* Gets the value of the partners 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 partners property.
*
*
* For example, to add a new item, do as follows:
*
* getPartners().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Partners }
*
*
*/
public List getPartners() {
if (partners == null) {
partners = new ArrayList();
}
return this.partners;
}
/**
* Gets the value of the replaceAll property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isReplaceAll() {
if (replaceAll == null) {
return true;
} else {
return replaceAll;
}
}
/**
* Sets the value of the replaceAll property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setReplaceAll(Boolean value) {
this.replaceAll = value;
}
}