Uses of Class
org.pipservices3.commons.validate.Schema
Packages that use Schema
-
Uses of Schema in org.pipservices3.commons.commands
Constructors in org.pipservices3.commons.commands with parameters of type SchemaModifierConstructorDescriptionCommand
(String name, Schema schema, IExecutable function) Creates a new command object and assigns it's parameters. -
Uses of Schema in org.pipservices3.commons.validate
Subclasses of Schema in org.pipservices3.commons.validateModifier 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 propertiesMethods in org.pipservices3.commons.validate that return SchemaModifier 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.Methods in org.pipservices3.commons.validate with parameters of type SchemaModifier 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.