
com.palominolabs.crm.sf.soap.jaxwsstub.metadata.AccountSharingRules 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.XmlType;
/**
* Java class for AccountSharingRules complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AccountSharingRules">
* <complexContent>
* <extension base="{http://soap.sforce.com/2006/04/metadata}SharingRules">
* <sequence>
* <element name="criteriaBasedRules" type="{http://soap.sforce.com/2006/04/metadata}AccountCriteriaBasedSharingRule" maxOccurs="unbounded" minOccurs="0"/>
* <element name="ownerRules" type="{http://soap.sforce.com/2006/04/metadata}AccountOwnerSharingRule" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AccountSharingRules", propOrder = {
"criteriaBasedRules",
"ownerRules"
})
public class AccountSharingRules
extends SharingRules
{
protected List criteriaBasedRules;
protected List ownerRules;
/**
* Gets the value of the criteriaBasedRules 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 criteriaBasedRules property.
*
*
* For example, to add a new item, do as follows:
*
* getCriteriaBasedRules().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AccountCriteriaBasedSharingRule }
*
*
*/
public List getCriteriaBasedRules() {
if (criteriaBasedRules == null) {
criteriaBasedRules = new ArrayList();
}
return this.criteriaBasedRules;
}
/**
* Gets the value of the ownerRules 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 ownerRules property.
*
*
* For example, to add a new item, do as follows:
*
* getOwnerRules().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AccountOwnerSharingRule }
*
*
*/
public List getOwnerRules() {
if (ownerRules == null) {
ownerRules = new ArrayList();
}
return this.ownerRules;
}
}