Class ViewInfo

java.lang.Object
io.jmix.flowui.view.ViewInfo

public class ViewInfo extends Object
Represents metadata information of a view, including the view's unique identifier, its controller class, and an optional template path.
  • Field Details

    • id

      protected String id
    • controllerClassName

      protected String controllerClassName
    • controllerClass

      protected Class<? extends View<?>> controllerClass
    • templatePath

      protected String templatePath
  • Constructor Details

    • ViewInfo

      public ViewInfo(String id, String controllerClassName, Class<? extends View<?>> controllerClass, @Nullable String templatePath)
  • Method Details

    • getId

      public String getId()
      Returns the unique identifier of the View.
      Returns:
      the unique identifier of the View
    • getControllerClassName

      public String getControllerClassName()
      Returns the name of the controller class associated with the View.
      Returns:
      the name of the controller class
    • getControllerClass

      public Class<? extends View<?>> getControllerClass()
      Returns the controller class associated with the View.
      Returns:
      the controller class associated with the View
    • getTemplatePath

      public Optional<String> getTemplatePath()
      Returns the template path associated with the View, if available.
      Returns:
      an Optional containing the template path, or an empty Optional if the template path is not set