Package dev.morphia.mapping.codec
Interface InstanceCreator
-
- All Known Subinterfaces:
MorphiaInstanceCreator
- All Known Implementing Classes:
ConstructorCreator
,NoArgCreator
public interface InstanceCreator
Creates instances of types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getInstance()
void
set(Object value, FieldModel model)
Sets a value for the given FieldModel
-
-
-
Method Detail
-
getInstance
Object getInstance()
- Returns:
- the new class instance.
-
set
void set(Object value, FieldModel model)
Sets a value for the given FieldModel- Parameters:
value
- the valuemodel
- the model
-
-