Class ObjectIdConverter
java.lang.Object
org.eclipse.jnosql.databases.mongodb.mapping.ObjectIdConverter
- All Implemented Interfaces:
jakarta.nosql.AttributeConverter<String,org.bson.types.ObjectId>
public class ObjectIdConverter
extends Object
implements jakarta.nosql.AttributeConverter<String,org.bson.types.ObjectId>
An implementation of AttributeConverter where it converts the
ObjectId
from/to String-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bson.types.ObjectIdconvertToDatabaseColumn(String attribute) convertToEntityAttribute(org.bson.types.ObjectId dbData)
-
Constructor Details
-
ObjectIdConverter
public ObjectIdConverter()
-
-
Method Details