Annotation Type MappingInheritanceMapKey


@Target({METHOD,PARAMETER}) @Retention(RUNTIME) public @interface MappingInheritanceMapKey
Defines the subtype mappings for a map attribute with a subview key.
Since:
1.2.0
Author:
Christian Beikov
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The subtype mappings of this annotated map attribute's key subview type that should be considered for inheritance.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Specifies that the base type is not considered in the inheritance subtype selection, but only it's subtypes.
  • Element Details

    • value

      The subtype mappings of this annotated map attribute's key subview type that should be considered for inheritance.
      Returns:
      The subtype mappings
    • onlySubtypes

      boolean onlySubtypes
      Specifies that the base type is not considered in the inheritance subtype selection, but only it's subtypes.
      Returns:
      Whether the base type should be considered for inheritance subtype selection
      Default:
      false