Class TableUtils.TablePlaceholder

  • Enclosing class:
    TableUtils

    public static class TableUtils.TablePlaceholder
    extends java.lang.Object
    Class used as return type from some functions from TableUtils.
    It contains the original placeholder and most important information about the table.
    • Constructor Detail

      • TablePlaceholder

        public TablePlaceholder()
    • Method Detail

      • getCometTemplate

        public CometTemplate getCometTemplate()
        Gets the comet template that contains this placeholder.
        Returns:
        cometTemplate
      • setCometTemplate

        public void setCometTemplate​(CometTemplate cometTemplate)
        Sets the comet template that contains this placeholder.
        Parameters:
        cometTemplate -
      • getPlaceholder

        public Placeholder getPlaceholder()
        Gets the original placeholder, this object is based on.
        Returns:
        placeholder
      • setPlaceholder

        public void setPlaceholder​(Placeholder placeholder)
        Sets the original placeholder, this object is based on.
        Parameters:
        placeholder -
      • getDataMappingMethod

        public PluginMethod getDataMappingMethod()
        Gets the dataMappingMethod of the table.
        Returns:
        pluginMethod
      • setDataMappingMethod

        public void setDataMappingMethod​(PluginMethod dataMappingMethod)
        Sets the dataMappingMethod of the table.
        Parameters:
        dataMappingMethod -
      • getPlaceholderUID

        public java.util.Optional<java.lang.String> getPlaceholderUID()
        Gets the UID of the placeholder.
        Returns:
        placeholderUID or Optional.empty() if it is not found
      • setPlaceholderUID

        public void setPlaceholderUID​(java.util.Optional<java.lang.String> placeholderUID)
        Sets the UID of the placeholder.
        Parameters:
        placeholderUID -
      • getTableConfigs

        public java.util.List<TableConfig> getTableConfigs()
        Gets the tableConfigs of the placeholder.
        Returns:
        tableConfigs
      • setTableConfigs

        public void setTableConfigs​(java.util.List<TableConfig> tableConfigs)
        Sets the tableConfigs of the placeholder.
        Parameters:
        tableConfigs -