Class IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty
java.lang.Object
org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty<UntypedJsonSchemaObject>
org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty
- All Implemented Interfaces:
JsonSchemaObject
,JsonSchemaProperty
- Enclosing class:
- IdentifiableJsonSchemaProperty<T extends JsonSchemaObject>
public static class IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty
extends IdentifiableJsonSchemaProperty<UntypedJsonSchemaObject>
Convenience
JsonSchemaProperty
implementation without a type
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
Modifier and TypeMethodDescriptionallOf
(Collection<JsonSchemaObject> allOf) allOf
(JsonSchemaObject... allOf) anyOf
(Collection<JsonSchemaObject> anyOf) anyOf
(JsonSchemaObject... anyOf) description
(String description) notMatch
(JsonSchemaObject notMatch) oneOf
(Collection<JsonSchemaObject> oneOf) oneOf
(JsonSchemaObject... oneOf) possibleValues
(Object... possibleValues) possibleValues
(Collection<Object> possibleValues) 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
-
possibleValues
public IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty possibleValues(Object... possibleValues) - Parameters:
possibleValues
- must not be null.- Returns:
- new instance of
IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
. - See Also:
-
allOf
- Parameters:
allOf
- must not be null.- Returns:
- new instance of
IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
. - See Also:
-
anyOf
- Parameters:
anyOf
- must not be null.- Returns:
- new instance of
IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
. - See Also:
-
oneOf
- Parameters:
oneOf
- must not be null.- Returns:
- new instance of
IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
. - See Also:
-
possibleValues
public IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty possibleValues(Collection<Object> possibleValues) - Parameters:
possibleValues
- must not be null.- Returns:
- new instance of
IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
. - See Also:
-
allOf
public IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty allOf(Collection<JsonSchemaObject> allOf) - Parameters:
allOf
- must not be null.- Returns:
- new instance of
IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
. - See Also:
-
anyOf
public IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty anyOf(Collection<JsonSchemaObject> anyOf) - Parameters:
anyOf
- must not be null.- Returns:
- new instance of
IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
. - See Also:
-
oneOf
public IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty oneOf(Collection<JsonSchemaObject> oneOf) - Parameters:
oneOf
- must not be null.- Returns:
- new instance of
IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
. - See Also:
-
notMatch
- Parameters:
notMatch
- must not be null.- Returns:
- new instance of
IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
. - See Also:
-
description
- Parameters:
description
- must not be null.- Returns:
- new instance of
IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
. - See Also:
-
generatedDescription
- Returns:
- new instance of
IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
. - See Also:
-