public class TableDataColumn
extends java.lang.Object
TableData
objectConstructor and Description |
---|
TableDataColumn(java.lang.String name,
int index,
java.lang.Class<?> type)
Creates a new instance
|
TableDataColumn(java.lang.String name,
java.lang.String description,
int index,
java.lang.Class<?> type)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
Get the description
|
int |
getIndex()
Get the index
|
java.lang.String |
getName()
Get the header
|
java.lang.Class<?> |
getType()
Get the data type
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
Set the description
|
void |
setIndex(int index)
Set the index
|
void |
setName(java.lang.String name)
Set the header
|
void |
setType(java.lang.Class<?> type)
Set the data type
|
java.lang.String |
toString() |
public TableDataColumn(java.lang.String name, int index, java.lang.Class<?> type)
name
- The headerindex
- The indextype
- The type of data in this columnpublic TableDataColumn(java.lang.String name, java.lang.String description, int index, java.lang.Class<?> type)
name
- The headerdescription
- A descriptionindex
- The indextype
- The type of data in this columnpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- The headerpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The descriptionpublic int getIndex()
public void setIndex(int index)
index
- The indexpublic java.lang.Class<?> getType()
public void setType(java.lang.Class<?> type)
type
- The data typepublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object