|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.cnes.sitools.dataset.model.Column
public final class Column
Class for column definition of a DataSet
Constructor Summary | |
---|---|
Column()
Default constructor |
|
Column(java.lang.String id,
java.lang.String dataIndex,
java.lang.String header,
int width,
boolean sortable,
boolean visible,
java.lang.String sqlColumnType)
Complete constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getColumnAlias()
Get the columnAlias |
ColumnRenderer |
getColumnRenderer()
Get the columnRenderer |
java.lang.String |
getDataIndex()
Gets the dataIndex value |
java.lang.String |
getDimensionId()
Gets the dimensionId value |
java.lang.Boolean |
getFilter()
Gets the filterType value |
java.lang.String |
getFormat()
Gets the format value |
java.lang.String |
getHeader()
Gets the header value |
java.lang.String |
getId()
Gets the id value |
short |
getJavaSqlColumnType()
Gets the javaSqlColumnType value |
java.lang.String |
getOrderBy()
Gets the orderBy value |
java.lang.String |
getSchema()
Gets the schema value |
SpecificColumnType |
getSpecificColumnType()
Get the getSpecificColumnType |
java.lang.String |
getSqlColumnType()
Get the sql column type |
java.lang.String |
getTableAlias()
Gets the tableAlias value |
java.lang.String |
getTableName()
Gets the tableName value |
java.lang.String |
getToolTip()
Gets the toolTip value |
SitoolsUnit |
getUnit()
Gets the unitName value |
int |
getWidth()
Gets the width value |
int |
hashCode()
|
boolean |
isPrimaryKey()
Returns if the column is a primary key |
boolean |
isSortable()
Tells if it can be sorted |
java.lang.Boolean |
isVisible()
Gets the value of visible |
void |
setColumnAlias(java.lang.String columnAlias)
Set the columnAlias |
void |
setColumnRenderer(ColumnRenderer columnRenderer)
Set the columnRenderer |
void |
setDataIndex(java.lang.String dataIndex)
Sets the value of dataIndex |
void |
setDimensionId(java.lang.String dimensionId)
Sets the value of dimensionId |
void |
setFilter(java.lang.Boolean filterType)
Sets the value of filterType |
void |
setFormat(java.lang.String format)
Sets the value of format |
void |
setHeader(java.lang.String header)
Sets the value of header |
void |
setId(java.lang.String id)
Sets the value of id |
void |
setJavaSqlColumnType(short javaSqlColumnType)
Sets the value of javaSqlColumnType |
void |
setOrderBy(java.lang.String orderBy)
Sets the value of orderBy |
void |
setPrimaryKey(boolean primaryKey)
Set if the column is a primary key |
void |
setSchema(java.lang.String schema)
Sets the value of schema |
void |
setSortable(boolean sortable)
Sets the value to tell if it can be sorted |
void |
setSpecificColumnType(SpecificColumnType specificColumnType)
Set the setSpecificColumnType |
void |
setSqlColumnType(java.lang.String sqlColumnType)
Set the column type |
void |
setTableAlias(java.lang.String tableAlias)
Sets the value of tableAlias |
void |
setTableName(java.lang.String tableName)
Sets the value of tableName |
void |
setToolTip(java.lang.String toolTip)
Sets the value of toolTip |
void |
setUnit(SitoolsUnit unit)
Sets the value of unitName |
void |
setVisible(boolean visible)
Sets the value of visible |
void |
setWidth(int width)
Sets the value of width |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Column(java.lang.String id, java.lang.String dataIndex, java.lang.String header, int width, boolean sortable, boolean visible, java.lang.String sqlColumnType)
id
- column IDdataIndex
- data index of the columnheader
- header of the columnwidth
- width of the columnsortable
- set if the column can be sortedvisible
- set if the column if visiblesqlColumnType
- set the column typepublic Column()
Method Detail |
---|
public java.lang.Boolean isVisible()
public java.lang.String getId()
public void setId(java.lang.String id)
id
- the id to setpublic java.lang.String getDataIndex()
public void setDataIndex(java.lang.String dataIndex)
dataIndex
- the dataIndex to setpublic java.lang.String getHeader()
public void setHeader(java.lang.String header)
header
- the header to setpublic java.lang.String getToolTip()
public void setToolTip(java.lang.String toolTip)
toolTip
- the toolTip to setpublic int getWidth()
public void setWidth(int width)
width
- the width to setpublic boolean isSortable()
public void setSortable(boolean sortable)
sortable
- true if it can be sortedpublic java.lang.Boolean getFilter()
public void setFilter(java.lang.Boolean filterType)
filterType
- the filterType to setpublic void setVisible(boolean visible)
visible
- the visible to setpublic java.lang.String getSchema()
public void setSchema(java.lang.String schema)
schema
- the schema to setpublic java.lang.String getTableName()
public void setTableName(java.lang.String tableName)
tableName
- the tableName to setpublic java.lang.String getTableAlias()
public void setTableAlias(java.lang.String tableAlias)
tableAlias
- the tableAlias to setpublic boolean isPrimaryKey()
public void setPrimaryKey(boolean primaryKey)
primaryKey
- the primaryKey to setpublic java.lang.String getSqlColumnType()
public void setSqlColumnType(java.lang.String sqlColumnType)
sqlColumnType
- the sqlColumnType to setpublic ColumnRenderer getColumnRenderer()
public void setColumnRenderer(ColumnRenderer columnRenderer)
columnRenderer
- the columnRenderer to setpublic SpecificColumnType getSpecificColumnType()
public void setSpecificColumnType(SpecificColumnType specificColumnType)
specificColumnType
- the specificColumnType to setpublic java.lang.String getColumnAlias()
public void setColumnAlias(java.lang.String columnAlias)
columnAlias
- the columnAlias to setpublic void setJavaSqlColumnType(short javaSqlColumnType)
javaSqlColumnType
- the javaSqlColumnType to setpublic short getJavaSqlColumnType()
public java.lang.String getDimensionId()
public void setDimensionId(java.lang.String dimensionId)
dimensionId
- the dimensionId to setpublic SitoolsUnit getUnit()
public void setUnit(SitoolsUnit unit)
unit
- the unitName to setpublic java.lang.String getOrderBy()
public void setOrderBy(java.lang.String orderBy)
orderBy
- the orderBy to setpublic java.lang.String getFormat()
public void setFormat(java.lang.String format)
format
- the format to setpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |