| Package | Description |
|---|---|
| org.springframework.data.mongodb.core.schema |
MongoDB-specific JSON schema implementation classes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IdentifiableJsonSchemaProperty<T extends JsonSchemaObject>
JsonSchemaProperty implementation. |
static class |
IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
Convenience
JsonSchemaProperty implementation for a type : 'array' property. |
static class |
IdentifiableJsonSchemaProperty.BooleanJsonSchemaProperty
Convenience
JsonSchemaProperty implementation for a type : 'boolean' property. |
static class |
IdentifiableJsonSchemaProperty.DateJsonSchemaProperty
Convenience
JsonSchemaProperty implementation for a type : 'date' property. |
static class |
IdentifiableJsonSchemaProperty.NullJsonSchemaProperty
Convenience
JsonSchemaProperty implementation for a type : 'null' property. |
static class |
IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
Convenience
JsonSchemaProperty implementation for a type : 'number' property. |
static class |
IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty
Convenience
JsonSchemaProperty implementation for a type : 'object' property. |
static class |
IdentifiableJsonSchemaProperty.RequiredJsonSchemaProperty
Delegating
JsonSchemaProperty implementation having a required flag for evaluation during schema
creation process. |
static class |
IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
Convenience
JsonSchemaProperty implementation for a type : 'string' property. |
static class |
IdentifiableJsonSchemaProperty.TimestampJsonSchemaProperty
Convenience
JsonSchemaProperty implementation for a type : 'timestamp' property. |
static class |
IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty
Convenience
JsonSchemaProperty implementation without a type property. |
| Modifier and Type | Method and Description |
|---|---|
static JsonSchemaProperty |
JsonSchemaProperty.required(JsonSchemaProperty property)
Turns the given
JsonSchemaProperty into a required on. |
| Modifier and Type | Method and Description |
|---|---|
MongoJsonSchema.MongoJsonSchemaBuilder |
MongoJsonSchema.MongoJsonSchemaBuilder.patternProperties(JsonSchemaProperty... properties) |
TypedJsonSchemaObject.ObjectJsonSchemaObject |
TypedJsonSchemaObject.ObjectJsonSchemaObject.patternProperties(JsonSchemaProperty... regularExpressions)
Append regular expression patterns along with the
JsonSchemaObject matching properties validating
against. |
IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty |
IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty.properties(JsonSchemaProperty... properties) |
MongoJsonSchema.MongoJsonSchemaBuilder |
MongoJsonSchema.MongoJsonSchemaBuilder.properties(JsonSchemaProperty... properties) |
TypedJsonSchemaObject.ObjectJsonSchemaObject |
TypedJsonSchemaObject.ObjectJsonSchemaObject.properties(JsonSchemaProperty... properties)
Append the objects properties along with the
JsonSchemaObject validating against. |
MongoJsonSchema.MongoJsonSchemaBuilder |
MongoJsonSchema.MongoJsonSchemaBuilder.property(JsonSchemaProperty property) |
TypedJsonSchemaObject.ObjectJsonSchemaObject |
TypedJsonSchemaObject.ObjectJsonSchemaObject.property(JsonSchemaProperty property)
Append the objects property along with the
JsonSchemaObject validating against. |
static JsonSchemaProperty |
JsonSchemaProperty.required(JsonSchemaProperty property)
Turns the given
JsonSchemaProperty into a required on. |
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.