Package com.veeva.vault.sdk.api.data
Interface ObjectValidationRuleMetadataResponse
public interface ObjectValidationRuleMetadataResponse
Holds an
ObjectValidationRuleMetadata collection.-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsValidationRule(String validationRuleName) Given the validation rule name, checks to see if anObjectValidationRuleMetadataexists with the name.getValidationRule(String validationRuleName) Given the field name, retrieves theObjectValidationRuleMetadata.Retrieves a collection ofObjectValidationRuleMetadata.
-
Method Details
-
containsValidationRule
Given the validation rule name, checks to see if anObjectValidationRuleMetadataexists with the name.- Parameters:
validationRuleName- the name of the validation rule. Cannot be null or empty. For example,"object_validation_rule_name__c".- Returns:
- true if an
ObjectValidationRuleMetadataexists with the given validation rule, otherwise false
-
getValidationRule
Given the field name, retrieves theObjectValidationRuleMetadata.- Parameters:
validationRuleName- the name of the validation rule. Cannot be null or empty. For example,"object_validation_rule_name__c".- Returns:
- an
ObjectValidationRuleMetadata
-
getValidationRules
List<ObjectValidationRuleMetadata> getValidationRules()Retrieves a collection ofObjectValidationRuleMetadata.- Returns:
- a collection of
ObjectValidationRuleMetadata
-