Annotation Interface MongoCollection


@Retention(RUNTIME) @Target(TYPE) public @interface MongoCollection
Annotation used to specify the collection that a type uses
Since:
1.2
Author:
James Roper
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the collection
  • Element Details

    • name

      String name
      The name of the collection
      Returns:
      The name of the collection