Annotation Interface Unwrapped


The annotation to configure a value object as flattened out in the target document.
Depending on the value of onEmpty() the property is set to null or an empty instance in the case all unwrapped values are null when reading from the result set.
Since:
3.2
Author:
Christoph Strobl
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    Shortcut for an empty unwrapped property.
    static @interface 
    Shortcut for a nullable unwrapped property.
    static enum 
    Load strategy to be used onEmpty().
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Set the load strategy for the unwrapped object if all contained fields yield null values.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • prefix

      String prefix
      Returns:
      prefix for columns in the unwrapped value object. An empty String by default.
      Default:
      ""