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  
      java.lang.String value  
    • Element Detail

      • concreteClass

        java.lang.Class<?> concreteClass
        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:
        "."