Spring Data Document

org.springframework.data.mongodb.core.mapping
Annotation Type Document


@Inherited
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Document

Identifies a domain object to be persisted to MongoDB.

Author:
Jon Brisbin , Oliver Gierke ogierke@vmware.com

Optional Element Summary
 String collection
           
 

collection

public abstract String collection
Default:
""

Spring Data Document

Copyright © 2012. All Rights Reserved.