Uses of Class
dev.morphia.mapping.codec.pojo.EntityModelBuilder
-
Packages that use EntityModelBuilder Package Description dev.morphia.mapping dev.morphia.mapping.codec.pojo dev.morphia.mapping.conventions -
-
Uses of EntityModelBuilder in dev.morphia.mapping
Methods in dev.morphia.mapping with parameters of type EntityModelBuilder Modifier and Type Method Description protected abstract String
DiscriminatorFunction. compute(EntityModelBuilder builder)
-
Uses of EntityModelBuilder in dev.morphia.mapping.codec.pojo
Methods in dev.morphia.mapping.codec.pojo that return EntityModelBuilder Modifier and Type Method Description EntityModelBuilder
EntityModelBuilder. annotation(Annotation type)
Adds an annotationEntityModelBuilder
EntityModelBuilder. discriminator(String discriminator)
Sets the discriminatorEntityModelBuilder
EntityModelBuilder. discriminatorKey(String key)
Sets the mapped key name to use when storing the discriminator valueEntityModelBuilder
EntityModelBuilder. enableDiscriminator(boolean enabled)
Enables or disables the use of a discriminator when serializingEntityModelBuilder
EntityModelBuilder. idPropertyName(String name)
Sets the name of the id propertyEntityModelBuilder
EntityModelBuilder. targetType(Class<?> targetType)
The target type of this modelEntityModelBuilder
EntityModelBuilder. versionPropertyName(String name)
Sets the name of the version property -
Uses of EntityModelBuilder in dev.morphia.mapping.conventions
Methods in dev.morphia.mapping.conventions with parameters of type EntityModelBuilder Modifier and Type Method Description void
ConfigureProperties. apply(Mapper mapper, EntityModelBuilder modelBuilder)
void
FieldDiscovery. apply(Mapper mapper, EntityModelBuilder builder)
void
MethodDiscovery. apply(Mapper mapper, EntityModelBuilder builder)
void
MorphiaConvention. apply(Mapper mapper, EntityModelBuilder builder)
This method applies this Convention to the given buildervoid
MorphiaDefaultsConvention. apply(Mapper mapper, EntityModelBuilder modelBuilder)
-