public class MorphiaSerializer extends MongodbSerializer
MorphiaSerializer
extends MongodbSerializer
with Morphia specific annotation handlingConstructor and Description |
---|
MorphiaSerializer(org.mongodb.morphia.Morphia morphia) |
Modifier and Type | Method and Description |
---|---|
protected com.mongodb.DBRef |
asReference(Object constant) |
protected com.mongodb.DBRef |
asReferenceKey(Class<?> entity,
Object id) |
protected String |
getKeyForPath(Path<?> expr,
PathMetadata metadata) |
protected boolean |
isId(Path<?> arg) |
protected boolean |
isImplicitObjectIdConversion() |
protected boolean |
isReference(Path<?> arg) |
Object |
visit(Constant<?> expr,
Void context)
Visit a Constant instance with the given context
|
public Object visit(Constant<?> expr, Void context)
Visitor
protected String getKeyForPath(Path<?> expr, PathMetadata metadata)
getKeyForPath
in class MongodbSerializer
protected boolean isReference(Path<?> arg)
isReference
in class MongodbSerializer
protected boolean isImplicitObjectIdConversion()
isImplicitObjectIdConversion
in class MongodbSerializer
protected boolean isId(Path<?> arg)
isId
in class MongodbSerializer
protected com.mongodb.DBRef asReference(Object constant)
asReference
in class MongodbSerializer
protected com.mongodb.DBRef asReferenceKey(Class<?> entity, Object id)
asReferenceKey
in class MongodbSerializer
Copyright © 2007–2020 Querydsl. All rights reserved.