All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sforce.soap.tooling.metadata.ValidationRule Maven / Gradle / Ivy

The newest version!

package com.sforce.soap.tooling.metadata;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

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:metadata.tooling.soap.sforce.com}Metadata">
 *       <sequence>
 *         <element name="active" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="errorConditionFormula" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="errorDisplayField" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ValidationRule", propOrder = { "active", "description", "errorConditionFormula", "errorDisplayField", "errorMessage" }) public class ValidationRule extends Metadata { protected boolean active; protected String description; @XmlElement(required = true) protected String errorConditionFormula; protected String errorDisplayField; @XmlElement(required = true) protected String errorMessage; /** * Gets the value of the active property. * */ public boolean isActive() { return active; } /** * Sets the value of the active property. * */ public void setActive(boolean value) { this.active = 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 errorConditionFormula property. * * @return * possible object is * {@link String } * */ public String getErrorConditionFormula() { return errorConditionFormula; } /** * Sets the value of the errorConditionFormula property. * * @param value * allowed object is * {@link String } * */ public void setErrorConditionFormula(String value) { this.errorConditionFormula = 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; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy