![JAR search and dependency download from the Maven repository](/logo.png)
com.sforce.soap.partner.SoqlConditionGroup Maven / Gradle / Ivy
package com.sforce.soap.partner;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for SoqlConditionGroup complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SoqlConditionGroup">
* <complexContent>
* <extension base="{urn:partner.soap.sforce.com}SoqlWhereCondition">
* <sequence>
* <element name="conditions" type="{urn:partner.soap.sforce.com}SoqlWhereCondition" maxOccurs="unbounded" minOccurs="0"/>
* <element name="conjunction" type="{urn:partner.soap.sforce.com}soqlConjunction"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SoqlConditionGroup", propOrder = {
"conditions",
"conjunction"
})
public class SoqlConditionGroup
extends SoqlWhereCondition
{
protected List conditions;
@XmlElement(required = true)
@XmlSchemaType(name = "string")
protected SoqlConjunction conjunction;
/**
* Gets the value of the conditions 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 conditions property.
*
*
* For example, to add a new item, do as follows:
*
* getConditions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SoqlWhereCondition }
*
*
*/
public List getConditions() {
if (conditions == null) {
conditions = new ArrayList();
}
return this.conditions;
}
/**
* Gets the value of the conjunction property.
*
* @return
* possible object is
* {@link SoqlConjunction }
*
*/
public SoqlConjunction getConjunction() {
return conjunction;
}
/**
* Sets the value of the conjunction property.
*
* @param value
* allowed object is
* {@link SoqlConjunction }
*
*/
public void setConjunction(SoqlConjunction value) {
this.conjunction = value;
}
}