 |
-
-
Method Summary
-
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.JsonSchemaObject
array, bool, date, nil, number, object, of, of, string, timestamp, untyped
-
-
Method Detail
-
toDocument
public org.bson.Document toDocument()
Create the JSON schema complying Document representation. This includes type,
description and the fields of Restrictions#toDocument() if set.
- Specified by:
toDocument in interface JsonSchemaObject
- Overrides:
toDocument in class UntypedJsonSchemaObject
- Returns:
- never null.
|
|