com.sforce.soap.tooling.ValidationRule 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 ValidationRule complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ValidationRule">
* <complexContent>
* <extension base="{urn:tooling.soap.sforce.com}sObject">
* <sequence>
* <element name="Active" type="{http://www.w3.org/2001/XMLSchema}boolean" 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="Description" type="{http://www.w3.org/2001/XMLSchema}string" 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="ErrorDisplayField" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ErrorMessage" 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="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="ManageableState" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Metadata" type="{urn:metadata.tooling.soap.sforce.com}ValidationRule" minOccurs="0"/>
* <element name="NamespacePrefix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ValidationName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ValidationRule", propOrder = {
"active",
"createdBy",
"createdById",
"createdDate",
"description",
"entityDefinition",
"entityDefinitionId",
"errorDisplayField",
"errorMessage",
"fullName",
"lastModifiedBy",
"lastModifiedById",
"lastModifiedDate",
"manageableState",
"metadata",
"namespacePrefix",
"validationName"
})
public class ValidationRule
extends SObject
{
@XmlElement(name = "Active", nillable = true)
protected Boolean active;
@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 = "Description", nillable = true)
protected String description;
@XmlElement(name = "EntityDefinition", nillable = true)
protected EntityDefinition entityDefinition;
@XmlElement(name = "EntityDefinitionId", nillable = true)
protected String entityDefinitionId;
@XmlElement(name = "ErrorDisplayField", nillable = true)
protected String errorDisplayField;
@XmlElement(name = "ErrorMessage", nillable = true)
protected String errorMessage;
@XmlElement(name = "FullName", nillable = true)
protected String fullName;
@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 = "ManageableState", nillable = true)
protected String manageableState;
@XmlElement(name = "Metadata", nillable = true)
protected com.sforce.soap.tooling.metadata.ValidationRule metadata;
@XmlElement(name = "NamespacePrefix", nillable = true)
protected String namespacePrefix;
@XmlElement(name = "ValidationName", nillable = true)
protected String validationName;
/**
* Gets the value of the active property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isActive() {
return active;
}
/**
* Sets the value of the active property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setActive(Boolean value) {
this.active = 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 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 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 errorDisplayField property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getErrorDisplayField() {
return errorDisplayField;
}
/**
* Sets the value of the errorDisplayField property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setErrorDisplayField(String value) {
this.errorDisplayField = value;
}
/**
* Gets the value of the errorMessage property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getErrorMessage() {
return errorMessage;
}
/**
* Sets the value of the errorMessage property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setErrorMessage(String value) {
this.errorMessage = 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 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 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.ValidationRule }
*
*/
public com.sforce.soap.tooling.metadata.ValidationRule getMetadata() {
return metadata;
}
/**
* Sets the value of the metadata property.
*
* @param value
* allowed object is
* {@link com.sforce.soap.tooling.metadata.ValidationRule }
*
*/
public void setMetadata(com.sforce.soap.tooling.metadata.ValidationRule value) {
this.metadata = 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 validationName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValidationName() {
return validationName;
}
/**
* Sets the value of the validationName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValidationName(String value) {
this.validationName = value;
}
}