Package org.mongojack

Annotation Type 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
      String name
      The name of the collection
    • Element Detail

      • name

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