@Documented @Target(value={METHOD,FIELD,PARAMETER}) @Retention(value=RUNTIME) public @interface BsonProperty
Note: Requires the Conventions.ANNOTATION_CONVENTION
Conventions.ANNOTATION_CONVENTION
Modifier and Type | Optional Element and Description |
---|---|
boolean |
useDiscriminator |
String |
value
The value to use for the mapped property when storing the property in the database.
|
public abstract String value
PropertyModel.getWriteName()