Interface ObservableDataHolder

All Known Implementing Classes:
AbstractDataComponentsHolder, FragmentDataImpl, ViewDataImpl

@NullMarked public interface ObservableDataHolder
Internal contract for data-component holders that expose observability metadata of their enclosed DataLoaders as view.id / fragment.id tags of jmix.ui.data metrics.
  • Method Details

    • getObservableViewId

      @Nullable String getObservableViewId()
      Returns:
      id of the enclosing view, or null if there is no enclosing view (e.g. holder owned by a fragment whose host is not yet attached).
    • getObservableFragmentId

      @Nullable String getObservableFragmentId()
      Returns:
      id of the enclosing fragment, or null if the holder is not fragment-owned.