|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@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.
Required Element Summary | |
---|---|
java.lang.String |
value
|
Element Detail |
---|
public abstract java.lang.String value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |