Package org.bson.codecs.pojo
This package contains classes specific to mapping user POJOs.
-
Interface Summary Interface Description Convention Defines a convention to be applied when mapping a class.IdGenerator<T> Classes that implement this interface define a way to create Ids for Pojo's.InstanceCreator<T> Provides access for setting data and the creation of a class instances.InstanceCreatorFactory<T> The factory for creatingInstanceCreator
instancesPropertyAccessor<T> Provides access for getting and setting property data.PropertyCodecProvider A variant ofCodecProvider
that generates codecs forPojoCodec
.PropertyCodecRegistry A variant ofCodecRegistry
that generates codecs forPojoCodec
.PropertySerialization<T> An interface allowing aPropertyModel
to determine if a value should be serialized.TypeWithTypeParameters<T> A combination of a type and its type parameters. -
Class Summary Class Description ClassModel<T> This model represents the metadata for a class and all its properties.ClassModelBuilder<T> A builder for programmatically creatingClassModels
.Conventions The default ConventionsIdGenerators The default IdGeneratorsPojoCodecProvider Provides Codecs for registered POJOs via the ClassModel abstractions.PojoCodecProvider.Builder A Builder for the PojoCodecProviderPropertyModel<T> Represents a property on a class and stores various metadata such as generic parametersPropertyModelBuilder<T> A builder for programmatically creatingPropertyModels
.