Uses of Class
org.pipservices3.commons.validate.Schema
-
Uses of Schema in org.pipservices3.commons.commands
ModifierConstructorDescriptionCommand
(String name, Schema schema, IExecutable function) Creates a new command object and assigns it's parameters. -
Uses of Schema in org.pipservices3.commons.validate
Modifier and TypeClassDescriptionclass
Schema to validate arrays.class
Schema to validateFilterParams
.class
Schema to validate maps.class
Schema to validate user defined objects.class
Schema to validatePagingParams
.class
Schema to validateProjectionParams
.class
Schema to validate object propertiesModifier and TypeMethodDescriptionSchema.makeOptional()
Makes validated values optional.Schema.makeRequired()
Makes validated values always required (non-null).Schema.withRule
(IValidationRule rule) Adds validation rule to this schema.Modifier and TypeMethodDescriptionvoid
Validates a given value against this rule.void
AtLeastOneExistsRule.validate
(String path, Schema schema, Object value, List<ValidationResult> results) Validates a given value against this rule.void
Validates the given value.void
Validates a given value against this rule.void
Validates a given value against this rule.void
Validates a given value against this rule.void
OnlyOneExistsRule.validate
(String path, Schema schema, Object value, List<ValidationResult> results) Validates a given value against this rule.void
Validates a given value against this rule.void
PropertiesComparisonRule.validate
(String path, Schema schema, Object value, List<ValidationResult> results) Validates a given value against this rule.void
ValueComparisonRule.validate
(String path, Schema schema, Object value, List<ValidationResult> results) Validates a given value against this rule.