
com.palominolabs.crm.sf.soap.jaxwsstub.metadata.PermissionSet 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 PermissionSet complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PermissionSet">
* <complexContent>
* <extension base="{http://soap.sforce.com/2006/04/metadata}Metadata">
* <sequence>
* <element name="classAccesses" type="{http://soap.sforce.com/2006/04/metadata}PermissionSetApexClassAccess" maxOccurs="unbounded" minOccurs="0"/>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="externalDataSourceAccesses" type="{http://soap.sforce.com/2006/04/metadata}PermissionSetExternalDataSourceAccess" maxOccurs="unbounded" minOccurs="0"/>
* <element name="fieldPermissions" type="{http://soap.sforce.com/2006/04/metadata}PermissionSetFieldPermissions" maxOccurs="unbounded" minOccurs="0"/>
* <element name="label" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="objectPermissions" type="{http://soap.sforce.com/2006/04/metadata}PermissionSetObjectPermissions" maxOccurs="unbounded" minOccurs="0"/>
* <element name="pageAccesses" type="{http://soap.sforce.com/2006/04/metadata}PermissionSetApexPageAccess" maxOccurs="unbounded" minOccurs="0"/>
* <element name="tabSettings" type="{http://soap.sforce.com/2006/04/metadata}PermissionSetTabSetting" maxOccurs="unbounded" minOccurs="0"/>
* <element name="userLicense" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="userPermissions" type="{http://soap.sforce.com/2006/04/metadata}PermissionSetUserPermission" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PermissionSet", propOrder = {
"classAccesses",
"description",
"externalDataSourceAccesses",
"fieldPermissions",
"label",
"objectPermissions",
"pageAccesses",
"tabSettings",
"userLicense",
"userPermissions"
})
public class PermissionSet
extends Metadata
{
protected List classAccesses;
protected String description;
protected List externalDataSourceAccesses;
protected List fieldPermissions;
protected String label;
protected List objectPermissions;
protected List pageAccesses;
protected List tabSettings;
protected String userLicense;
protected List userPermissions;
/**
* Gets the value of the classAccesses 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 classAccesses property.
*
*
* For example, to add a new item, do as follows:
*
* getClassAccesses().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PermissionSetApexClassAccess }
*
*
*/
public List getClassAccesses() {
if (classAccesses == null) {
classAccesses = new ArrayList();
}
return this.classAccesses;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the externalDataSourceAccesses 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 externalDataSourceAccesses property.
*
*
* For example, to add a new item, do as follows:
*
* getExternalDataSourceAccesses().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PermissionSetExternalDataSourceAccess }
*
*
*/
public List getExternalDataSourceAccesses() {
if (externalDataSourceAccesses == null) {
externalDataSourceAccesses = new ArrayList();
}
return this.externalDataSourceAccesses;
}
/**
* Gets the value of the fieldPermissions 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 fieldPermissions property.
*
*
* For example, to add a new item, do as follows:
*
* getFieldPermissions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PermissionSetFieldPermissions }
*
*
*/
public List getFieldPermissions() {
if (fieldPermissions == null) {
fieldPermissions = new ArrayList();
}
return this.fieldPermissions;
}
/**
* Gets the value of the label property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* Sets the value of the label property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* Gets the value of the objectPermissions 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 objectPermissions property.
*
*
* For example, to add a new item, do as follows:
*
* getObjectPermissions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PermissionSetObjectPermissions }
*
*
*/
public List getObjectPermissions() {
if (objectPermissions == null) {
objectPermissions = new ArrayList();
}
return this.objectPermissions;
}
/**
* Gets the value of the pageAccesses 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 pageAccesses property.
*
*
* For example, to add a new item, do as follows:
*
* getPageAccesses().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PermissionSetApexPageAccess }
*
*
*/
public List getPageAccesses() {
if (pageAccesses == null) {
pageAccesses = new ArrayList();
}
return this.pageAccesses;
}
/**
* Gets the value of the tabSettings 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 tabSettings property.
*
*
* For example, to add a new item, do as follows:
*
* getTabSettings().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PermissionSetTabSetting }
*
*
*/
public List getTabSettings() {
if (tabSettings == null) {
tabSettings = new ArrayList();
}
return this.tabSettings;
}
/**
* Gets the value of the userLicense property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUserLicense() {
return userLicense;
}
/**
* Sets the value of the userLicense property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUserLicense(String value) {
this.userLicense = value;
}
/**
* Gets the value of the userPermissions 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 userPermissions property.
*
*
* For example, to add a new item, do as follows:
*
* getUserPermissions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PermissionSetUserPermission }
*
*
*/
public List getUserPermissions() {
if (userPermissions == null) {
userPermissions = new ArrayList();
}
return this.userPermissions;
}
}