org.springframework.data.document.mongodb.mapping
Annotation Type FieldName
@Retention(value=RUNTIME)
@Target(value=FIELD)
@Documented
public @interface FieldName
Annotation to allow defining the name of the field a property should use in a Mongo document. This will cause the
property annotated being persisted to a field with the configured name as wells as being read from it.
- Author:
- Oliver Gierke
Required Element Summary |
java.lang.String |
value
|
value
public abstract java.lang.String value
Copyright © 2011. All Rights Reserved.