Uses of Class
org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ArrayJsonSchemaObject
Packages that use TypedJsonSchemaObject.ArrayJsonSchemaObject
Package
Description
MongoDB-specific JSON schema implementation classes.
-
Uses of TypedJsonSchemaObject.ArrayJsonSchemaObject in org.springframework.data.mongodb.core.schema
Methods in org.springframework.data.mongodb.core.schema that return TypedJsonSchemaObject.ArrayJsonSchemaObjectModifier and TypeMethodDescriptionTypedJsonSchemaObject.ArrayJsonSchemaObject.additionalItems(boolean additionalItemsAllowed) If set to false, no additional items besidesitems(Collection)are allowed.TypedJsonSchemaObject.ArrayJsonSchemaObject.allOf(Collection<JsonSchemaObject> allOf) TypedJsonSchemaObject.ArrayJsonSchemaObject.anyOf(Collection<JsonSchemaObject> anyOf) JsonSchemaObject.array()Create a newJsonSchemaObjectoftype : 'array'.TypedJsonSchemaObject.ArrayJsonSchemaObject.description(String description) TypedJsonSchemaObject.ArrayJsonSchemaObject.generatedDescription()TypedJsonSchemaObject.ArrayJsonSchemaObject.items(Collection<JsonSchemaObject> items) Define theitemsallowed in the array.TypedJsonSchemaObject.ArrayJsonSchemaObject.maxItems(int count) Define the maxItems.TypedJsonSchemaObject.ArrayJsonSchemaObject.minItems(int count) Define the maxItems.TypedJsonSchemaObject.ArrayJsonSchemaObject.notMatch(JsonSchemaObject notMatch) TypedJsonSchemaObject.ArrayJsonSchemaObject.oneOf(Collection<JsonSchemaObject> oneOf) TypedJsonSchemaObject.ArrayJsonSchemaObject.possibleValues(Collection<? extends Object> possibleValues) Define the minItems and maxItems via the givenRange.
In-/Exclusions viarange boundsare not taken into account.TypedJsonSchemaObject.ArrayJsonSchemaObject.uniqueItems(boolean uniqueItems) Define the whether the array must contain unique items.Constructors in org.springframework.data.mongodb.core.schema with parameters of type TypedJsonSchemaObject.ArrayJsonSchemaObjectModifierConstructorDescriptionArrayJsonSchemaProperty(String identifier, TypedJsonSchemaObject.ArrayJsonSchemaObject schemaObject)