public class ValidationRule extends Metadata
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>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
active |
protected String |
description |
protected String |
errorConditionFormula |
protected String |
errorDisplayField |
protected String |
errorMessage |
| Constructor and Description |
|---|
ValidationRule() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the value of the description property.
|
String |
getErrorConditionFormula()
Gets the value of the errorConditionFormula property.
|
String |
getErrorDisplayField()
Gets the value of the errorDisplayField property.
|
String |
getErrorMessage()
Gets the value of the errorMessage property.
|
boolean |
isActive()
Gets the value of the active property.
|
void |
setActive(boolean value)
Sets the value of the active property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setErrorConditionFormula(String value)
Sets the value of the errorConditionFormula property.
|
void |
setErrorDisplayField(String value)
Sets the value of the errorDisplayField property.
|
void |
setErrorMessage(String value)
Sets the value of the errorMessage property.
|
protected boolean active
protected String description
protected String errorConditionFormula
protected String errorDisplayField
protected String errorMessage
public boolean isActive()
public void setActive(boolean value)
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic String getErrorConditionFormula()
Stringpublic void setErrorConditionFormula(String value)
value - allowed object is
Stringpublic String getErrorDisplayField()
Stringpublic void setErrorDisplayField(String value)
value - allowed object is
Stringpublic String getErrorMessage()
StringCopyright © 2016. All rights reserved.