|
Spring Data MongoDB | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented @Retention(value=RUNTIME) public @interface Field
Annotation to define custom metadata for document fields.
| Optional Element Summary | |
|---|---|
int |
order
The order in which various fields shall be stored. |
String |
value
The key to be used to store the field inside the document. |
public abstract String value
public abstract int order
|
Spring Data MongoDB | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||