Package omero.gateway.model
Class TableDataColumn
- java.lang.Object
-
- omero.gateway.model.TableDataColumn
-
public class TableDataColumn extends java.lang.Object
Defines a column for aTableData
object
-
-
Constructor Summary
Constructors Constructor Description TableDataColumn(java.lang.String name, int index, java.lang.Class<?> type)
Creates a new instanceTableDataColumn(java.lang.String name, java.lang.String description, int index, java.lang.Class<?> type)
Creates a new instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getDescription()
Get the descriptionint
getIndex()
Get the indexjava.lang.String
getName()
Get the headerjava.lang.Class<?>
getType()
Get the data typeint
hashCode()
void
setDescription(java.lang.String description)
Set the descriptionvoid
setIndex(int index)
Set the indexvoid
setName(java.lang.String name)
Set the headervoid
setType(java.lang.Class<?> type)
Set the data typejava.lang.String
toString()
-
-
-
Constructor Detail
-
TableDataColumn
public TableDataColumn(java.lang.String name, int index, java.lang.Class<?> type)
Creates a new instance- Parameters:
name
- The headerindex
- The indextype
- The type of data in this column
-
TableDataColumn
public TableDataColumn(java.lang.String name, java.lang.String description, int index, java.lang.Class<?> type)
Creates a new instance- Parameters:
name
- The headerdescription
- A descriptionindex
- The indextype
- The type of data in this column
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the header- Returns:
- See above
-
setName
public void setName(java.lang.String name)
Set the header- Parameters:
name
- The header
-
getDescription
public java.lang.String getDescription()
Get the description- Returns:
- See description
-
setDescription
public void setDescription(java.lang.String description)
Set the description- Parameters:
description
- The description
-
getIndex
public int getIndex()
Get the index- Returns:
- See above
-
setIndex
public void setIndex(int index)
Set the index- Parameters:
index
- The index
-
getType
public java.lang.Class<?> getType()
Get the data type- Returns:
- See above
-
setType
public void setType(java.lang.Class<?> type)
Set the data type- Parameters:
type
- The data type
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-