org.springframework.data.document.mongodb.mapping
Annotation Type DBRef


@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface DBRef

An annotation that indicates the annotated field is to be stored using a com.mongodb.DBRef

Author:
Jon Brisbin <[email protected]>

Optional Element Summary
 java.lang.String collection
           
 java.lang.String db
           
 java.lang.String id
           
 

collection

public abstract java.lang.String collection
Default:
""

id

public abstract java.lang.String id
Default:
""

db

public abstract java.lang.String db
Default:
""


Copyright © 2011. All Rights Reserved.