@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 |
java.lang.String |
value
The value to use for the mapped property when storing the property in the database.
|
public abstract java.lang.String value
PropertyModel.getWriteName()