com.sforce.soap.tooling.metadata.Profile Maven / Gradle / Ivy
Show all versions of sforce-tooling-api Show documentation
package com.sforce.soap.tooling.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 Profile complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Profile">
* <complexContent>
* <extension base="{urn:metadata.tooling.soap.sforce.com}Metadata">
* <sequence>
* <element name="applicationVisibilities" type="{urn:metadata.tooling.soap.sforce.com}ProfileApplicationVisibility" maxOccurs="unbounded" minOccurs="0"/>
* <element name="classAccesses" type="{urn:metadata.tooling.soap.sforce.com}ProfileApexClassAccess" maxOccurs="unbounded" minOccurs="0"/>
* <element name="custom" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="customPermissions" type="{urn:metadata.tooling.soap.sforce.com}ProfileCustomPermissions" maxOccurs="unbounded" minOccurs="0"/>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="externalDataSourceAccesses" type="{urn:metadata.tooling.soap.sforce.com}ProfileExternalDataSourceAccess" maxOccurs="unbounded" minOccurs="0"/>
* <element name="fieldPermissions" type="{urn:metadata.tooling.soap.sforce.com}ProfileFieldLevelSecurity" maxOccurs="unbounded" minOccurs="0"/>
* <element name="loginHours" type="{urn:metadata.tooling.soap.sforce.com}ProfileLoginHours" minOccurs="0"/>
* <element name="loginIpRanges" type="{urn:metadata.tooling.soap.sforce.com}ProfileLoginIpRange" maxOccurs="unbounded" minOccurs="0"/>
* <element name="objectPermissions" type="{urn:metadata.tooling.soap.sforce.com}ProfileObjectPermissions" maxOccurs="unbounded" minOccurs="0"/>
* <element name="pageAccesses" type="{urn:metadata.tooling.soap.sforce.com}ProfileApexPageAccess" maxOccurs="unbounded" minOccurs="0"/>
* <element name="recordTypeVisibilities" type="{urn:metadata.tooling.soap.sforce.com}ProfileRecordTypeVisibility" maxOccurs="unbounded" minOccurs="0"/>
* <element name="tabVisibilities" type="{urn:metadata.tooling.soap.sforce.com}ProfileTabVisibility" maxOccurs="unbounded" minOccurs="0"/>
* <element name="userLicense" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="userPermissions" type="{urn:metadata.tooling.soap.sforce.com}ProfileUserPermission" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Profile", propOrder = {
"applicationVisibilities",
"classAccesses",
"custom",
"customPermissions",
"description",
"externalDataSourceAccesses",
"fieldPermissions",
"loginHours",
"loginIpRanges",
"objectPermissions",
"pageAccesses",
"recordTypeVisibilities",
"tabVisibilities",
"userLicense",
"userPermissions"
})
public class Profile
extends Metadata
{
protected List applicationVisibilities;
protected List classAccesses;
protected Boolean custom;
protected List customPermissions;
protected String description;
protected List externalDataSourceAccesses;
protected List fieldPermissions;
protected ProfileLoginHours loginHours;
protected List loginIpRanges;
protected List objectPermissions;
protected List pageAccesses;
protected List recordTypeVisibilities;
protected List tabVisibilities;
protected String userLicense;
protected List userPermissions;
/**
* Gets the value of the applicationVisibilities 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 applicationVisibilities property.
*
*
* For example, to add a new item, do as follows:
*
* getApplicationVisibilities().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ProfileApplicationVisibility }
*
*
*/
public List getApplicationVisibilities() {
if (applicationVisibilities == null) {
applicationVisibilities = new ArrayList();
}
return this.applicationVisibilities;
}
/**
* 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 ProfileApexClassAccess }
*
*
*/
public List getClassAccesses() {
if (classAccesses == null) {
classAccesses = new ArrayList();
}
return this.classAccesses;
}
/**
* Gets the value of the custom property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isCustom() {
return custom;
}
/**
* Sets the value of the custom property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setCustom(Boolean value) {
this.custom = value;
}
/**
* Gets the value of the customPermissions 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 customPermissions property.
*
*
* For example, to add a new item, do as follows:
*
* getCustomPermissions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ProfileCustomPermissions }
*
*
*/
public List getCustomPermissions() {
if (customPermissions == null) {
customPermissions = new ArrayList();
}
return this.customPermissions;
}
/**
* 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 ProfileExternalDataSourceAccess }
*
*
*/
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 ProfileFieldLevelSecurity }
*
*
*/
public List getFieldPermissions() {
if (fieldPermissions == null) {
fieldPermissions = new ArrayList();
}
return this.fieldPermissions;
}
/**
* Gets the value of the loginHours property.
*
* @return
* possible object is
* {@link ProfileLoginHours }
*
*/
public ProfileLoginHours getLoginHours() {
return loginHours;
}
/**
* Sets the value of the loginHours property.
*
* @param value
* allowed object is
* {@link ProfileLoginHours }
*
*/
public void setLoginHours(ProfileLoginHours value) {
this.loginHours = value;
}
/**
* Gets the value of the loginIpRanges 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 loginIpRanges property.
*
*
* For example, to add a new item, do as follows:
*
* getLoginIpRanges().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ProfileLoginIpRange }
*
*
*/
public List getLoginIpRanges() {
if (loginIpRanges == null) {
loginIpRanges = new ArrayList();
}
return this.loginIpRanges;
}
/**
* 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 ProfileObjectPermissions }
*
*
*/
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 ProfileApexPageAccess }
*
*
*/
public List getPageAccesses() {
if (pageAccesses == null) {
pageAccesses = new ArrayList();
}
return this.pageAccesses;
}
/**
* Gets the value of the recordTypeVisibilities 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 recordTypeVisibilities property.
*
*
* For example, to add a new item, do as follows:
*
* getRecordTypeVisibilities().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ProfileRecordTypeVisibility }
*
*
*/
public List getRecordTypeVisibilities() {
if (recordTypeVisibilities == null) {
recordTypeVisibilities = new ArrayList();
}
return this.recordTypeVisibilities;
}
/**
* Gets the value of the tabVisibilities 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 tabVisibilities property.
*
*
* For example, to add a new item, do as follows:
*
* getTabVisibilities().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ProfileTabVisibility }
*
*
*/
public List getTabVisibilities() {
if (tabVisibilities == null) {
tabVisibilities = new ArrayList();
}
return this.tabVisibilities;
}
/**
* 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 ProfileUserPermission }
*
*
*/
public List getUserPermissions() {
if (userPermissions == null) {
userPermissions = new ArrayList();
}
return this.userPermissions;
}
}