public class Column extends Object
| Constructor and Description |
|---|
Column(int id,
String name,
String label,
ColumnFormat format,
Class<?> type,
int length)
The constructor that defines all parameters of the Column class.
|
| Modifier and Type | Method and Description |
|---|---|
ColumnFormat |
getFormat()
The function to get
format. |
int |
getId()
The function to get
id. |
String |
getLabel()
The function to get
label. |
int |
getLength()
The function to get
length. |
String |
getName()
The function to get
name. |
Class<?> |
getType()
The function to get
type. |
void |
setFormat(ColumnFormat format)
The function to set column format.
|
void |
setLabel(String label)
The function to set column label.
|
void |
setName(String name)
The function to set column name.
|
public Column(int id,
String name,
String label,
ColumnFormat format,
Class<?> type,
int length)
id - the column idname - the column name.label - the column label.format - the column formattype - the class of data stored in cells of rows related to the column, can be Number.class or
String.class.length - the column lengthpublic int getId()
id.public String getName()
name.public ColumnFormat getFormat()
format.public Class<?> getType()
type.public String getLabel()
label.public int getLength()
length.public void setName(String name)
name - the column name.public void setLabel(String label)
label - the column label.public void setFormat(ColumnFormat format)
format - the column format.Copyright © 2021. All rights reserved.