@Documented @Inherited @Retention(value=RUNTIME) @Target(value=FIELD) public @interface Reference
Modifier and Type | Optional Element and Description |
---|---|
Class<?> |
concreteClass
Deprecated.
unimplemented
|
boolean |
idOnly
Specifies whether only _id should be stored versus storing a DBRef
|
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
@Deprecated public abstract Class<?> concreteClass
public abstract boolean ignoreMissing
Copyright © 2016. All rights reserved.