@Documented @Inherited @Retention(value=RUNTIME) @Target(value=FIELD) public @interface Reference
Modifier and Type | Optional Element and Description |
---|---|
Class<?> |
concreteClass
Specify the concrete class to instantiate.
|
boolean |
ignoreMissing
Ignore any reference that don't resolve (aren't in mongodb)
|
boolean |
lazy
Create a proxy around the reference which will be resolved on the first method call.
|
String |
value
The name of the Mongo value to store the field.
|
public abstract String value
public abstract Class<?> concreteClass
Copyright © 2015. All rights reserved.