Package org.bson.codecs.pojo.annotations
package org.bson.codecs.pojo.annotations
This package defines various annotations used by the driver provided when used in conjunction with the
Conventions.ANNOTATION_CONVENTION
.-
ClassDescriptionAn annotation that configures a constructor or method as the creator for the POJO.An annotation that configures the discriminator key and value for a class.An annotation that configures a property to be used as storage for any extra BSON elements that are not already mapped to other properties.An annotation that configures the property as the id property for a
ClassModel
or a Java record.An annotation that configures a property to be ignored when reading and writing to BSONAn annotation that configures a property.An annotation that specifies what type the property is stored as in the database.