com.bytekast.netsuite.client.EstimateItemList 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 EstimateItemList complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="EstimateItemList">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="item" type="{urn:sales_2017_1.transactions.webservices.netsuite.com}EstimateItem" 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 = "EstimateItemList", namespace = "urn:sales_2017_1.transactions.webservices.netsuite.com", propOrder = {
"item"
})
public class EstimateItemList
implements Serializable
{
protected List item;
@XmlAttribute(name = "replaceAll")
protected Boolean replaceAll;
/**
* Gets the value of the item 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 item property.
*
*
* For example, to add a new item, do as follows:
*
* getItem().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link EstimateItem }
*
*
*/
public List getItem() {
if (item == null) {
item = new ArrayList();
}
return this.item;
}
/**
* 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;
}
}