Uses of Class
dev.morphia.mapping.DiscriminatorFunction
-
Packages that use DiscriminatorFunction Package Description dev.morphia.config Configuration related typesdev.morphia.mapping -
-
Uses of DiscriminatorFunction in dev.morphia.config
Methods in dev.morphia.config that return DiscriminatorFunction Modifier and Type Method Description DiscriminatorFunction
DiscriminatorFunctionConverter. convert(String value)
DiscriminatorFunction
ManualMorphiaConfig. discriminator()
DiscriminatorFunction
MapperOptionsWrapper. discriminator()
@WithConverter(DiscriminatorFunctionConverter.class) DiscriminatorFunction
MorphiaConfig. discriminator()
The function to use when calculating the discriminator value for an entityMethods in dev.morphia.config with parameters of type DiscriminatorFunction Modifier and Type Method Description default MorphiaConfig
MorphiaConfig. discriminator(DiscriminatorFunction value)
Updates this configuration with a new value and returns a new instance. -
Uses of DiscriminatorFunction in dev.morphia.mapping
Methods in dev.morphia.mapping that return DiscriminatorFunction Modifier and Type Method Description static DiscriminatorFunction
DiscriminatorFunction. className()
Defines a function to use the class name for the discriminator valueDiscriminatorFunction
MapperOptions. getDiscriminator()
static DiscriminatorFunction
DiscriminatorFunction. lowerClassName()
Defines a function to use the lowercase class name for the discriminator valuestatic DiscriminatorFunction
DiscriminatorFunction. lowerSimpleName()
Defines a function to use the lowercase simple class name for the discriminator valuestatic DiscriminatorFunction
DiscriminatorFunction. simpleName()
Defines a function to use the simple class name for the discriminator valueMethods in dev.morphia.mapping with parameters of type DiscriminatorFunction Modifier and Type Method Description MapperOptions.Builder
MapperOptions.Builder. discriminator(DiscriminatorFunction function)
Deprecated, for removal: This API element is subject to removal in a future version.Sets the discriminator function to use
-