Annotation Interface FieldGroup


@Retention(RUNTIME) @Target(TYPE) public @interface FieldGroup
Indicates that the annotated class contains a set of channel properties that have to be rendered as a group in a certain order. This annotation should only be used on interfaces that map to channel information.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the array of channel property names in this field group.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Returns the title key of this field group.
  • Element Details

    • value

      String[] value
      Returns the array of channel property names in this field group. The properties should be rendered as a group in the array order.
      Returns:
      the array of channel property names in this field group.
    • titleKey

      String titleKey
      Returns the title key of this field group. If the title key is present in the resource bundle of the channel properties class, that translated title will be rendered above the properties in this field group. By default, the title key of a field group is an empty string.
      Returns:
      the title key of this field group.
      Default:
      ""