Package com.priint.pubserver.util
Class TableUtils.TablePlaceholder
java.lang.Object
com.priint.pubserver.util.TableUtils.TablePlaceholder
- Enclosing class:
- TableUtils
Class used as return type from some functions from
It contains the original placeholder and most important information about the table.
TableUtils.It contains the original placeholder and most important information about the table.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the comet template that contains this placeholder.Gets the dataMappingMethod of the table.Gets the original placeholder, this object is based on.Gets the UID of the placeholder.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(Optional<String> placeholderUID) Sets the UID of the placeholder.voidsetTableConfigs(List<TableConfig> tableConfigs) Sets the tableConfigs of the placeholder.
-
Constructor Details
-
TablePlaceholder
public TablePlaceholder()
-
-
Method Details
-
getCometTemplate
Gets the comet template that contains this placeholder.- Returns:
- cometTemplate
-
setCometTemplate
Sets the comet template that contains this placeholder.- Parameters:
cometTemplate-
-
getPlaceholder
Gets the original placeholder, this object is based on.- Returns:
- placeholder
-
setPlaceholder
Sets the original placeholder, this object is based on.- Parameters:
placeholder-
-
getDataMappingMethod
Gets the dataMappingMethod of the table.- Returns:
- pluginMethod
-
setDataMappingMethod
Sets the dataMappingMethod of the table.- Parameters:
dataMappingMethod-
-
getPlaceholderUID
Gets the UID of the placeholder.- Returns:
- placeholderUID or
Optional.empty()if it is not found
-
setPlaceholderUID
Sets the UID of the placeholder.- Parameters:
placeholderUID-
-
getTableConfigs
Gets the tableConfigs of the placeholder.- Returns:
- tableConfigs
-
setTableConfigs
Sets the tableConfigs of the placeholder.- Parameters:
tableConfigs-
-