Package dev.morphia.mapping.conventions
Class MorphiaDefaultsConvention
- java.lang.Object
-
- dev.morphia.mapping.conventions.MorphiaDefaultsConvention
-
- All Implemented Interfaces:
MorphiaConvention
@MorphiaInternal public class MorphiaDefaultsConvention extends Object implements MorphiaConvention
A set of conventions to apply to Morphia entities
-
-
Constructor Summary
Constructors Constructor Description MorphiaDefaultsConvention()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Mapper mapper, EntityModelBuilder modelBuilder)
This method applies this Convention to the given builder
-
-
-
Method Detail
-
apply
public void apply(Mapper mapper, EntityModelBuilder modelBuilder)
Description copied from interface:MorphiaConvention
This method applies this Convention to the given builder- Specified by:
apply
in interfaceMorphiaConvention
modelBuilder
- the builder to apply the convention to
-
-