Class ViewDataImpl

All Implemented Interfaces:
HasDataComponents, ViewData

@Component("flowui_ViewData") @Scope("prototype") public class ViewDataImpl extends AbstractDataComponentsHolder implements ViewData
Implementation of the ViewData interface. Provides functionality for managing the data API elements of a View.
  • Field Details

    • viewId

      protected String viewId
  • Constructor Details

    • ViewDataImpl

      public ViewDataImpl()
  • Method Details

    • getViewId

      @Nullable public String getViewId()
      Description copied from interface: ViewData
      Returns the identifier of the View.
      Specified by:
      getViewId in interface ViewData
      Returns:
      the View identifier, or null if it is not set.
    • setViewId

      public void setViewId(@Nullable String viewId)
      Description copied from interface: ViewData
      Sets the identifier of the View.
      Specified by:
      setViewId in interface ViewData
      Parameters:
      viewId - the identifier of the View to set, or null to remove the identifier
    • getOwnerId

      @Nullable protected String getOwnerId()
      Specified by:
      getOwnerId in class AbstractDataComponentsHolder