Package omero.gateway.model
Class TableDataColumn
- java.lang.Object
-
- omero.gateway.model.TableDataColumn
-
public class TableDataColumn extends java.lang.ObjectDefines a column for aTableDataobject
-
-
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 booleanequals(java.lang.Object obj)java.lang.StringgetDescription()Get the descriptionintgetIndex()Get the indexjava.lang.StringgetName()Get the headerjava.lang.Class<?>getType()Get the data typeinthashCode()voidsetDescription(java.lang.String description)Set the descriptionvoidsetIndex(int index)Set the indexvoidsetName(java.lang.String name)Set the headervoidsetType(java.lang.Class<?> type)Set the data typejava.lang.StringtoString()
-
-
-
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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-