public class MorphiaSerializer extends MongodbSerializer
MorphiaSerializer extends MongodbSerializer with Morphia specific annotation handling| Constructor and Description |
|---|
MorphiaSerializer(org.mongodb.morphia.Morphia morphia) |
| Modifier and Type | Method and Description |
|---|---|
protected com.mongodb.DBRef |
asReference(java.lang.Object constant) |
protected com.mongodb.DBRef |
asReferenceKey(java.lang.Class<?> entity,
java.lang.Object id) |
protected java.lang.String |
getKeyForPath(Path<?> expr,
PathMetadata metadata) |
protected boolean |
isId(Path<?> arg) |
protected boolean |
isImplicitObjectIdConversion() |
protected boolean |
isReference(Path<?> arg) |
java.lang.Object |
visit(Constant<?> expr,
java.lang.Void context) |
public java.lang.Object visit(Constant<?> expr, java.lang.Void context)
visit in interface Visitor<java.lang.Object,java.lang.Void>visit in class MongodbSerializerprotected java.lang.String getKeyForPath(Path<?> expr, PathMetadata metadata)
getKeyForPath in class MongodbSerializerprotected boolean isReference(Path<?> arg)
isReference in class MongodbSerializerprotected boolean isImplicitObjectIdConversion()
isImplicitObjectIdConversion in class MongodbSerializerprotected boolean isId(Path<?> arg)
isId in class MongodbSerializerprotected com.mongodb.DBRef asReference(java.lang.Object constant)
asReference in class MongodbSerializerprotected com.mongodb.DBRef asReferenceKey(java.lang.Class<?> entity,
java.lang.Object id)
asReferenceKey in class MongodbSerializerCopyright © 2007–2021 Querydsl. All rights reserved.