public interface BusinessObjectValidator
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApiName()
Returns the API name of the object.
|
java.lang.String |
getDefinition()
Returns the definition to evaluate whether the framework attempts to validate
the object during changes.
|
java.lang.String |
getDefintion()
Deprecated.
use
getDefinition() instead |
java.lang.String |
getDescription()
Returns the description of the object.
|
java.lang.String |
getErrorMessage()
Returns the error message to display to the user when validation fails.
|
java.lang.String |
getName()
Returns the name of the validator.
|
void |
setDefinition(java.lang.String definition)
The definition to evaluate whether the framework attempts to validate
the object during changes.
|
void |
setDefintion(java.lang.String definition)
Deprecated.
use
setDefinition(String) instead |
void |
setDescription(java.lang.String text)
Sets the description of the object.
|
void |
setErrorMessage(java.lang.String errorMessage)
Register the error message to display to the user when validation fails.
|
void |
setName(java.lang.String name)
Sets the name of this validator.
|
void setName(java.lang.String name)
name
- definition of this validatorjava.lang.String getName()
java.lang.String getApiName()
void setDescription(java.lang.String text)
text
- description of the objectjava.lang.String getDescription()
void setDefinition(java.lang.String definition)
definition
- definition of this validator@Deprecated void setDefintion(java.lang.String definition)
setDefinition(String)
insteaddefinition
- definition of this validatorjava.lang.String getDefinition()
@Deprecated java.lang.String getDefintion()
getDefinition()
insteadvoid setErrorMessage(java.lang.String errorMessage)
errorMessage
- error messagejava.lang.String getErrorMessage()