The name of this column used to access the column’s data in a template document passed to DocumentAssembler.
getIndexInDocument()
public int getIndexInDocument()
Gets the original zero-based index of the corresponding table column as per the source document. Depending on DocumentTableOptions specified, this index may differ from the index of this DocumentTableColumn instance within the column collection of the corresponding DocumentTable instance.
Returns:
int - The original zero-based index of the corresponding table column as per the source document.
getType()
public Class getType()
Gets the type of cell values in this column.
For documents of non-Spreadsheet file formats, the initial type is always automatically determined as string. For documents of Spreadsheet file formats, the initial type is automatically determined depending on corresponding cell values.
If cells of a particular Spreadsheet column contain values of different types, then the column’s initial type is also automatically determined as string.
Returns:
java.lang.Class - The type of cell values in this column.
setType(Class value)
public void setType(Class value)
Sets the type of cell values in this column.
For documents of non-Spreadsheet file formats, the initial type is always automatically determined as string. For documents of Spreadsheet file formats, the initial type is automatically determined depending on corresponding cell values.
If cells of a particular Spreadsheet column contain values of different types, then the column’s initial type is also automatically determined as string.
Parameters:
Parameter
Type
Description
value
java.lang.Class
The type of cell values in this column.
getAllowsNull()
public boolean getAllowsNull()
Gets a value indicating whether cells in this column contain null values or not. Undefined and error values in cells of Spreadsheet documents are also considered to be null.
Returns:
boolean - A value indicating whether cells in this column contain null values or not.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.