Uses of Interface
org.bson.codecs.pojo.Convention
-
Packages that use Convention Package Description org.bson.codecs.pojo This package contains classes specific to mapping user POJOs. -
-
Uses of Convention in org.bson.codecs.pojo
Fields in org.bson.codecs.pojo declared as Convention Modifier and Type Field Description static Convention
Conventions. ANNOTATION_CONVENTION
The annotation convention.static Convention
Conventions. CLASS_AND_PROPERTY_CONVENTION
The default class and property conventions Sets the discriminator key if not set to_t
and the discriminator value if not set to the ClassModels simple type name. Configures the PropertyModels.static Convention
Conventions. OBJECT_ID_GENERATORS
A convention that sets the IdGenerator if the id property is either aObjectId
orBsonObjectId
.static Convention
Conventions. SET_PRIVATE_FIELDS_CONVENTION
A convention that enables private fields to be set using reflection.static Convention
Conventions. USE_GETTERS_FOR_SETTERS
A convention that uses getter methods as setters for collections and maps if there is no setter.Fields in org.bson.codecs.pojo with type parameters of type Convention Modifier and Type Field Description static List<Convention>
Conventions. DEFAULT_CONVENTIONS
The default conventions liststatic List<Convention>
Conventions. NO_CONVENTIONS
An empty conventions listMethods in org.bson.codecs.pojo that return types with arguments of type Convention Modifier and Type Method Description List<Convention>
ClassModelBuilder. getConventions()
Method parameters in org.bson.codecs.pojo with type arguments of type Convention Modifier and Type Method Description ClassModelBuilder<T>
ClassModelBuilder. conventions(List<Convention> conventions)
Sets the conventions to apply to the modelPojoCodecProvider.Builder
PojoCodecProvider.Builder. conventions(List<Convention> conventions)
Sets the conventions to use when creatingClassModels
from classes or packages.
-