All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bronto.api.model.SegmentRuleObject Maven / Gradle / Ivy


package com.bronto.api.model;

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 segmentRuleObject complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="segmentRuleObject">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="canMatchAny" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="criteria" type="{http://api.bronto.com/v4}segmentCriteriaObject" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "segmentRuleObject", propOrder = { "canMatchAny", "criteria" }) public class SegmentRuleObject { protected Boolean canMatchAny; @XmlElement(nillable = true) protected List criteria; /** * Gets the value of the canMatchAny property. * * @return * possible object is * {@link Boolean } * */ public Boolean isCanMatchAny() { return canMatchAny; } /** * Sets the value of the canMatchAny property. * * @param value * allowed object is * {@link Boolean } * */ public void setCanMatchAny(Boolean value) { this.canMatchAny = value; } /** * Gets the value of the criteria 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 criteria property. * *

* For example, to add a new item, do as follows: *

     *    getCriteria().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link SegmentCriteriaObject } * * */ public List getCriteria() { if (criteria == null) { criteria = new ArrayList(); } return this.criteria; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy