Interface BuilderFieldSource<D extends BuilderFieldSource<D>>

All Superinterfaces:
Comparable<D>, Component<D>, Copyable<D>, Serializable
All Known Subinterfaces:
QueryBuilderField<F>, RuleBuilderField<F>
All Known Implementing Classes:
DefaultQueryBuilderField, DefaultRuleBuilderField

public interface BuilderFieldSource<D extends BuilderFieldSource<D>> extends Component<D>
An interface implemented by components that intend to support the inclusion of augmented custom fields.
Author:
Jon Fleschler (jfleschler)
  • Method Details

    • addAugmentationFieldSource

      default D addAugmentationFieldSource(String entityContainerKey)
      The container key used to retrieve augmentations. Any fields marked `showInQueryBuilder` will be added to the field list.
      Parameters:
      entityContainerKey - the augmentation key property
      Returns:
      this
    • addAugmentationFieldSource

      default D addAugmentationFieldSource(String entityContainerKey, boolean stripAttributes)
      The container key used to retrieve augmentations. Any fields marked `showInQueryBuilder` will be added to the field list.
      Parameters:
      entityContainerKey - the augmentation key property
      Returns:
      this
    • addAugmentationFieldSource

      default D addAugmentationFieldSource(String entityContainerKey, String fieldNameWrapper)
      The container key used to retrieve augmentations. Any fields marked `showInQueryBuilder` will be added to the field list.
      Parameters:
      entityContainerKey - the augmentation key property
      fieldNameWrapper - the string format to wrap the field name
      Returns:
      this
    • addAugmentationFieldSource

      default D addAugmentationFieldSource(String entityContainerKey, String fieldNameWrapper, boolean stripAttributes)
      The container key used to retrieve augmentations. Any fields marked `showInQueryBuilder` will be added to the field list.
      Parameters:
      entityContainerKey - the augmentation key property
      fieldNameWrapper - the string format to wrap the field name
      Returns:
      this
    • getContainerKey

      default String getContainerKey()
    • processFieldName

      default String processFieldName(String fieldName)