com.sforce.soap.tooling.ApexTrigger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sforce-tooling-api Show documentation
Show all versions of sforce-tooling-api Show documentation
Salesforce Tooling API client
The newest version!
package com.sforce.soap.tooling;
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;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* Java class for ApexTrigger complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ApexTrigger">
* <complexContent>
* <extension base="{urn:tooling.soap.sforce.com}sObject">
* <sequence>
* <element name="ApiVersion" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
* <element name="Body" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="BodyCrc" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
* <element name="CreatedBy" type="{urn:tooling.soap.sforce.com}User" minOccurs="0"/>
* <element name="CreatedById" type="{urn:tooling.soap.sforce.com}ID" minOccurs="0"/>
* <element name="CreatedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="EntityDefinition" type="{urn:tooling.soap.sforce.com}EntityDefinition" minOccurs="0"/>
* <element name="EntityDefinitionId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="FullName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="IsValid" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="LastModifiedBy" type="{urn:tooling.soap.sforce.com}User" minOccurs="0"/>
* <element name="LastModifiedById" type="{urn:tooling.soap.sforce.com}ID" minOccurs="0"/>
* <element name="LastModifiedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="LengthWithoutComments" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="ManageableState" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Metadata" type="{urn:metadata.tooling.soap.sforce.com}ApexTrigger" minOccurs="0"/>
* <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="NamespacePrefix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Status" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="SystemModstamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="TableEnumOrId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="UsageAfterDelete" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="UsageAfterInsert" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="UsageAfterUndelete" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="UsageAfterUpdate" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="UsageBeforeDelete" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="UsageBeforeInsert" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="UsageBeforeUpdate" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="UsageIsBulk" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ApexTrigger", propOrder = {
"apiVersion",
"body",
"bodyCrc",
"createdBy",
"createdById",
"createdDate",
"entityDefinition",
"entityDefinitionId",
"fullName",
"isValid",
"lastModifiedBy",
"lastModifiedById",
"lastModifiedDate",
"lengthWithoutComments",
"manageableState",
"metadata",
"name",
"namespacePrefix",
"status",
"systemModstamp",
"tableEnumOrId",
"usageAfterDelete",
"usageAfterInsert",
"usageAfterUndelete",
"usageAfterUpdate",
"usageBeforeDelete",
"usageBeforeInsert",
"usageBeforeUpdate",
"usageIsBulk"
})
public class ApexTrigger
extends SObject
{
@XmlElement(name = "ApiVersion", nillable = true)
protected Double apiVersion;
@XmlElement(name = "Body", nillable = true)
protected String body;
@XmlElement(name = "BodyCrc", nillable = true)
protected Double bodyCrc;
@XmlElement(name = "CreatedBy", nillable = true)
protected User createdBy;
@XmlElement(name = "CreatedById", nillable = true)
protected String createdById;
@XmlElement(name = "CreatedDate", nillable = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar createdDate;
@XmlElement(name = "EntityDefinition", nillable = true)
protected EntityDefinition entityDefinition;
@XmlElement(name = "EntityDefinitionId", nillable = true)
protected String entityDefinitionId;
@XmlElement(name = "FullName", nillable = true)
protected String fullName;
@XmlElement(name = "IsValid", nillable = true)
protected Boolean isValid;
@XmlElement(name = "LastModifiedBy", nillable = true)
protected User lastModifiedBy;
@XmlElement(name = "LastModifiedById", nillable = true)
protected String lastModifiedById;
@XmlElement(name = "LastModifiedDate", nillable = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar lastModifiedDate;
@XmlElement(name = "LengthWithoutComments", nillable = true)
protected Integer lengthWithoutComments;
@XmlElement(name = "ManageableState", nillable = true)
protected String manageableState;
@XmlElement(name = "Metadata", nillable = true)
protected com.sforce.soap.tooling.metadata.ApexTrigger metadata;
@XmlElement(name = "Name", nillable = true)
protected String name;
@XmlElement(name = "NamespacePrefix", nillable = true)
protected String namespacePrefix;
@XmlElement(name = "Status", nillable = true)
protected String status;
@XmlElement(name = "SystemModstamp", nillable = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar systemModstamp;
@XmlElement(name = "TableEnumOrId", nillable = true)
protected String tableEnumOrId;
@XmlElement(name = "UsageAfterDelete", nillable = true)
protected Boolean usageAfterDelete;
@XmlElement(name = "UsageAfterInsert", nillable = true)
protected Boolean usageAfterInsert;
@XmlElement(name = "UsageAfterUndelete", nillable = true)
protected Boolean usageAfterUndelete;
@XmlElement(name = "UsageAfterUpdate", nillable = true)
protected Boolean usageAfterUpdate;
@XmlElement(name = "UsageBeforeDelete", nillable = true)
protected Boolean usageBeforeDelete;
@XmlElement(name = "UsageBeforeInsert", nillable = true)
protected Boolean usageBeforeInsert;
@XmlElement(name = "UsageBeforeUpdate", nillable = true)
protected Boolean usageBeforeUpdate;
@XmlElement(name = "UsageIsBulk", nillable = true)
protected Boolean usageIsBulk;
/**
* Gets the value of the apiVersion property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getApiVersion() {
return apiVersion;
}
/**
* Sets the value of the apiVersion property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setApiVersion(Double value) {
this.apiVersion = value;
}
/**
* Gets the value of the body property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBody() {
return body;
}
/**
* Sets the value of the body property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBody(String value) {
this.body = value;
}
/**
* Gets the value of the bodyCrc property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getBodyCrc() {
return bodyCrc;
}
/**
* Sets the value of the bodyCrc property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setBodyCrc(Double value) {
this.bodyCrc = value;
}
/**
* Gets the value of the createdBy property.
*
* @return
* possible object is
* {@link User }
*
*/
public User getCreatedBy() {
return createdBy;
}
/**
* Sets the value of the createdBy property.
*
* @param value
* allowed object is
* {@link User }
*
*/
public void setCreatedBy(User value) {
this.createdBy = value;
}
/**
* Gets the value of the createdById property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCreatedById() {
return createdById;
}
/**
* Sets the value of the createdById property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreatedById(String value) {
this.createdById = value;
}
/**
* Gets the value of the createdDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getCreatedDate() {
return createdDate;
}
/**
* Sets the value of the createdDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setCreatedDate(XMLGregorianCalendar value) {
this.createdDate = value;
}
/**
* Gets the value of the entityDefinition property.
*
* @return
* possible object is
* {@link EntityDefinition }
*
*/
public EntityDefinition getEntityDefinition() {
return entityDefinition;
}
/**
* Sets the value of the entityDefinition property.
*
* @param value
* allowed object is
* {@link EntityDefinition }
*
*/
public void setEntityDefinition(EntityDefinition value) {
this.entityDefinition = value;
}
/**
* Gets the value of the entityDefinitionId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEntityDefinitionId() {
return entityDefinitionId;
}
/**
* Sets the value of the entityDefinitionId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEntityDefinitionId(String value) {
this.entityDefinitionId = value;
}
/**
* Gets the value of the fullName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFullName() {
return fullName;
}
/**
* Sets the value of the fullName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFullName(String value) {
this.fullName = value;
}
/**
* Gets the value of the isValid property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsValid() {
return isValid;
}
/**
* Sets the value of the isValid property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsValid(Boolean value) {
this.isValid = value;
}
/**
* Gets the value of the lastModifiedBy property.
*
* @return
* possible object is
* {@link User }
*
*/
public User getLastModifiedBy() {
return lastModifiedBy;
}
/**
* Sets the value of the lastModifiedBy property.
*
* @param value
* allowed object is
* {@link User }
*
*/
public void setLastModifiedBy(User value) {
this.lastModifiedBy = value;
}
/**
* Gets the value of the lastModifiedById property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLastModifiedById() {
return lastModifiedById;
}
/**
* Sets the value of the lastModifiedById property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLastModifiedById(String value) {
this.lastModifiedById = value;
}
/**
* Gets the value of the lastModifiedDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getLastModifiedDate() {
return lastModifiedDate;
}
/**
* Sets the value of the lastModifiedDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setLastModifiedDate(XMLGregorianCalendar value) {
this.lastModifiedDate = value;
}
/**
* Gets the value of the lengthWithoutComments property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getLengthWithoutComments() {
return lengthWithoutComments;
}
/**
* Sets the value of the lengthWithoutComments property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setLengthWithoutComments(Integer value) {
this.lengthWithoutComments = value;
}
/**
* Gets the value of the manageableState property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getManageableState() {
return manageableState;
}
/**
* Sets the value of the manageableState property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setManageableState(String value) {
this.manageableState = value;
}
/**
* Gets the value of the metadata property.
*
* @return
* possible object is
* {@link com.sforce.soap.tooling.metadata.ApexTrigger }
*
*/
public com.sforce.soap.tooling.metadata.ApexTrigger getMetadata() {
return metadata;
}
/**
* Sets the value of the metadata property.
*
* @param value
* allowed object is
* {@link com.sforce.soap.tooling.metadata.ApexTrigger }
*
*/
public void setMetadata(com.sforce.soap.tooling.metadata.ApexTrigger value) {
this.metadata = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the namespacePrefix property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNamespacePrefix() {
return namespacePrefix;
}
/**
* Sets the value of the namespacePrefix property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNamespacePrefix(String value) {
this.namespacePrefix = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStatus(String value) {
this.status = value;
}
/**
* Gets the value of the systemModstamp property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getSystemModstamp() {
return systemModstamp;
}
/**
* Sets the value of the systemModstamp property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setSystemModstamp(XMLGregorianCalendar value) {
this.systemModstamp = value;
}
/**
* Gets the value of the tableEnumOrId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTableEnumOrId() {
return tableEnumOrId;
}
/**
* Sets the value of the tableEnumOrId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTableEnumOrId(String value) {
this.tableEnumOrId = value;
}
/**
* Gets the value of the usageAfterDelete property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isUsageAfterDelete() {
return usageAfterDelete;
}
/**
* Sets the value of the usageAfterDelete property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setUsageAfterDelete(Boolean value) {
this.usageAfterDelete = value;
}
/**
* Gets the value of the usageAfterInsert property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isUsageAfterInsert() {
return usageAfterInsert;
}
/**
* Sets the value of the usageAfterInsert property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setUsageAfterInsert(Boolean value) {
this.usageAfterInsert = value;
}
/**
* Gets the value of the usageAfterUndelete property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isUsageAfterUndelete() {
return usageAfterUndelete;
}
/**
* Sets the value of the usageAfterUndelete property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setUsageAfterUndelete(Boolean value) {
this.usageAfterUndelete = value;
}
/**
* Gets the value of the usageAfterUpdate property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isUsageAfterUpdate() {
return usageAfterUpdate;
}
/**
* Sets the value of the usageAfterUpdate property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setUsageAfterUpdate(Boolean value) {
this.usageAfterUpdate = value;
}
/**
* Gets the value of the usageBeforeDelete property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isUsageBeforeDelete() {
return usageBeforeDelete;
}
/**
* Sets the value of the usageBeforeDelete property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setUsageBeforeDelete(Boolean value) {
this.usageBeforeDelete = value;
}
/**
* Gets the value of the usageBeforeInsert property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isUsageBeforeInsert() {
return usageBeforeInsert;
}
/**
* Sets the value of the usageBeforeInsert property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setUsageBeforeInsert(Boolean value) {
this.usageBeforeInsert = value;
}
/**
* Gets the value of the usageBeforeUpdate property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isUsageBeforeUpdate() {
return usageBeforeUpdate;
}
/**
* Sets the value of the usageBeforeUpdate property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setUsageBeforeUpdate(Boolean value) {
this.usageBeforeUpdate = value;
}
/**
* Gets the value of the usageIsBulk property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isUsageIsBulk() {
return usageIsBulk;
}
/**
* Sets the value of the usageIsBulk property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setUsageIsBulk(Boolean value) {
this.usageIsBulk = value;
}
}