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
.-
Annotation Types Summary Annotation Type Description BsonCreator An annotation that configures a constructor or method as the Creator for the Pojo.BsonDiscriminator An annotation that configures the discriminator key and value for a class.BsonId An annotation that configures the property as the id property for aClassModel
.BsonIgnore An annotation that configures a property to be ignored when reading and writing to BSONBsonProperty An annotation that configures a property.BsonRepresentation An annotation that specifies what type the property is stored as in the database.