Annotation Type Property


  • @Documented
    @Inherited
    @Retention(RUNTIME)
    @Target(FIELD)
    public @interface Property
    Optional annotation for specifying persistence behavior
    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 field name to use in the document. Defaults to the java field name.
        Default:
        "."