Package com.priint.pubserver.util
Class TableUtils.TablePlaceholder
- java.lang.Object
-
- com.priint.pubserver.util.TableUtils.TablePlaceholder
-
- Enclosing class:
- TableUtils
public static class TableUtils.TablePlaceholder extends java.lang.ObjectClass used as return type from some functions fromTableUtils.
It contains the original placeholder and most important information about the table.
-
-
Constructor Summary
Constructors Constructor Description TablePlaceholder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CometTemplategetCometTemplate()Gets the comet template that contains this placeholder.PluginMethodgetDataMappingMethod()Gets the dataMappingMethod of the table.PlaceholdergetPlaceholder()Gets the original placeholder, this object is based on.java.util.Optional<java.lang.String>getPlaceholderUID()Gets the UID of the placeholder.java.util.List<TableConfig>getTableConfigs()Gets the tableConfigs of the placeholder.voidsetCometTemplate(CometTemplate cometTemplate)Sets the comet template that contains this placeholder.voidsetDataMappingMethod(PluginMethod dataMappingMethod)Sets the dataMappingMethod of the table.voidsetPlaceholder(Placeholder placeholder)Sets the original placeholder, this object is based on.voidsetPlaceholderUID(java.util.Optional<java.lang.String> placeholderUID)Sets the UID of the placeholder.voidsetTableConfigs(java.util.List<TableConfig> tableConfigs)Sets the tableConfigs of the placeholder.
-
-
-
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-
-
-