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 <[email protected]>, Oliver Gierke [email protected]

Optional Element Summary
 String collection
           
 

collection

public abstract String collection
Default:
""

Spring Data Document

Copyright © 2012. All Rights Reserved.