Uses of Interface
org.pipservices3.commons.validate.IValidationRule
Packages that use IValidationRule
-
Uses of IValidationRule in org.pipservices3.commons.validate
Classes in org.pipservices3.commons.validate that implement IValidationRuleModifier and TypeClassDescriptionclass
Validation rule to combine rules with AND logical operation.class
Validation rule that check that at least one of the object properties is not null.class
Validation rule to check that value is excluded from the list of constants.class
Validation rule to check that value is included into the list of constants.class
Validation rule negate another rule.class
Validation rule that check that at exactly one of the object properties is not null.class
Validation rule to combine rules with OR logical operation.class
Validation rule that compares two object properties.class
Validation rule that compares value to a constant.Methods in org.pipservices3.commons.validate that return types with arguments of type IValidationRuleModifier and TypeMethodDescriptionSchema.getRules()
Gets validation rules to check values against.Methods in org.pipservices3.commons.validate with parameters of type IValidationRuleModifier and TypeMethodDescriptionObjectSchema.withOptionalProperty
(String name, Object type, IValidationRule... rules) Adds a validation schema for an optional object property.ObjectSchema.withRequiredProperty
(String name, Object type, IValidationRule... rules) Adds a validation schema for a required object property.Schema.withRule
(IValidationRule rule) Adds validation rule to this schema.Method parameters in org.pipservices3.commons.validate with type arguments of type IValidationRuleModifier and TypeMethodDescriptionvoid
Schema.setRules
(List<IValidationRule> value) Sets validation rules to check values against.Constructors in org.pipservices3.commons.validate with parameters of type IValidationRuleModifierConstructorDescriptionAndRule
(IValidationRule... rules) Creates a new validation rule and sets its values.NotRule
(IValidationRule rule) Creates a new validation rule and sets its valuesOrRule
(IValidationRule... rules) Creates a new validation rule and sets its values.Constructor parameters in org.pipservices3.commons.validate with type arguments of type IValidationRuleModifierConstructorDescriptionArraySchema
(Object valueType, boolean required, List<IValidationRule> rules) Creates a new instance of validation schema and sets its values.Creates a new instance of validation schema and sets its values.PropertySchema
(String name, Object type, Boolean required, List<IValidationRule> rules) Creates a new validation schema and sets its values.Schema
(boolean required, List<IValidationRule> rules) Creates a new instance of validation schema and sets its values.