classafMorphia::BsonConvCtx
sys::Obj afMorphia::BsonConvCtx
Passed to BsonConvs
to give context on what they're converting.
- bsonProperty
const BsonProp? bsonProperty
- converters
BsonConvs converters { private set }
- field
const Field? field
- fromBsonVal
Obj? fromBsonVal()
Uses this context to convert
this.obj
.- isField
const Bool isField
- isList
const Bool isList
- isMap
const Bool isMap
- isTopLevel
Bool isTopLevel()
- list
List? list { private set }
- listIdx
const Int? listIdx
- makeField
This makeField(Type type, Field field, BsonProp? bsonProperty, Obj? obj)
- makeList
- makeMap
- map
Map? map { private set }
- mapKey
const Obj? mapKey
- obj
Obj? obj { private set }
- options
- parent
BsonConvCtx? parent { private set }
- replaceType
Void replaceType(Type newType)
Replace
type
with a more specific subclass type.- toBsonVal
Obj? toBsonVal()
Uses this context to convert
this.obj
.- type
Type type { private set }