Annotation Type Embedded


  • @Documented
    @Inherited
    @Retention(RUNTIME)
    @Target({FIELD,TYPE})
    public @interface Embedded
    Author:
    Olafur Gauti Gudmundsson, Scott Hernandez
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.Class<?> concreteClass
      Deprecated.
      unused in 2.x
      java.lang.String value  
    • Element Detail

      • concreteClass

        @Deprecated
        java.lang.Class<?> concreteClass
        Deprecated.
        unused in 2.x
        Returns:
        the concrete class to instantiate.
        Default:
        java.lang.Object.class
      • value

        java.lang.String value
        Returns:
        The name of the Mongo value to store the field. Defaults to the name of the field being annotated.
        Default:
        "."