Annotation Type EmbeddedEntityResource


  • @Target(METHOD)
    @Retention(RUNTIME)
    @Documented
    public @interface EmbeddedEntityResource
    Annotates a method and indicates it is the unique id of a embedded object. The method must have zero arguments. It will be executed and the enclosing class will have the result of a call to the entity resource embedded in it.
    Author:
    Gethin James
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<?> entityResource  
      java.lang.String propertyName  
    • Element Detail

      • propertyName

        java.lang.String propertyName
      • entityResource

        java.lang.Class<?> entityResource