Class IdentifiableJsonSchemaProperty.BooleanJsonSchemaProperty
java.lang.Object
org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty<TypedJsonSchemaObject.BooleanJsonSchemaObject>
org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.BooleanJsonSchemaProperty
- All Implemented Interfaces:
JsonSchemaObject
,JsonSchemaProperty
- Enclosing class:
- IdentifiableJsonSchemaProperty<T extends JsonSchemaObject>
public static class IdentifiableJsonSchemaProperty.BooleanJsonSchemaProperty
extends IdentifiableJsonSchemaProperty<TypedJsonSchemaObject.BooleanJsonSchemaObject>
Convenience
JsonSchemaProperty
implementation for a type : 'boolean'
property.- Since:
- 2.1
- Author:
- Christoph Strobl
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty
IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty, IdentifiableJsonSchemaProperty.BooleanJsonSchemaProperty, IdentifiableJsonSchemaProperty.DateJsonSchemaProperty, IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty, IdentifiableJsonSchemaProperty.NullJsonSchemaProperty, IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty, IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty, IdentifiableJsonSchemaProperty.RequiredJsonSchemaProperty, IdentifiableJsonSchemaProperty.StringJsonSchemaProperty, IdentifiableJsonSchemaProperty.TimestampJsonSchemaProperty, IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty
Nested classes/interfaces inherited from interface org.springframework.data.mongodb.core.schema.JsonSchemaObject
JsonSchemaObject.Type
Nested classes/interfaces inherited from interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
JsonSchemaProperty.JsonSchemaPropertyBuilder
-
Field Summary
Fields inherited from class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty
identifier, jsonSchemaObjectDelegate
-
Method Summary
Methods inherited from class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty
getIdentifier, getTypes, toDocument
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
isRequired
-
Method Details
-
description
- Parameters:
description
- must not be null.- Returns:
- new instance of
IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
. - See Also:
-
generatedDescription
- Returns:
- new instance of
IdentifiableJsonSchemaProperty.BooleanJsonSchemaProperty
. - See Also:
-