| Package | Description |
|---|---|
| com.holonplatform.datastore.mongo.core.document |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
DocumentIdResolver.decode(org.bson.types.ObjectId id,
Class<? extends T> type)
Decode given
ObjectId using given type. |
org.bson.types.ObjectId |
DocumentIdResolver.encode(Object documentId)
Encode given document id as an
ObjectId. |
Optional<com.holonplatform.core.Path<?>> |
DocumentIdResolver.resolveDocumentIdPath(com.holonplatform.core.property.PropertySet<?> propertySet)
Try to resolve the
Path within given PropertySet which can act as document identifier
path property. |
Optional<com.holonplatform.core.property.Property<?>> |
DocumentIdResolver.resolveDocumentIdProperty(com.holonplatform.core.property.PropertySet<?> propertySet)
Try to resolve the
Property within given PropertySet which can act as document
identifier property. |
Copyright © 2019 The Holon Platform. All rights reserved.