|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ebi.adfconverter.common.data.tabulardata.HeaderItem
uk.ac.ebi.adfconverter.common.data.tabulardata.CorrectableHeaderItem
This class represents an header item of a data table which can be use for correct table following a structure
| Constructor Summary | |
CorrectableHeaderItem()
Class contructor : creates an instance without name of item or column number name and column number must be set later |
|
CorrectableHeaderItem(CorrectableHeaderItem item,
java.lang.String name,
java.lang.String type)
Class contructor : creates an instance with a given name of item |
|
CorrectableHeaderItem(HeaderItem item,
java.lang.String name,
java.lang.String type,
int column)
Class contructor : creates an instance with a given name of item |
|
CorrectableHeaderItem(java.lang.String name,
int column)
Class contructor : creates an instance with a given name of item |
|
CorrectableHeaderItem(java.lang.String name,
java.lang.String type,
int column)
Class contructor : creates an instance with a given name of item |
|
CorrectableHeaderItem(java.lang.String name,
java.lang.String initialName,
java.lang.String type,
int column)
Class contructor : creates an instance with a given name of item |
|
CorrectableHeaderItem(java.lang.String name,
java.lang.String initialName,
java.lang.String type,
int column,
java.lang.String subName)
Class contructor : creates an instance with a given name of item |
|
| Method Summary | |
void |
clear()
Clears th CorrectableHeaderItem object |
boolean |
equals(java.lang.Object o)
Compares the object with another one mainly for searching in the headerlist |
java.lang.String |
getDataDelimiter()
Retrieves the value delimiter of the item |
java.lang.String |
getFieldType()
Retrieves the fieldtype of the item |
java.lang.String |
getInitialName()
Retrieves the initial name of the item |
java.lang.String |
getPrefixSubName()
Retreives the prefix delimiter for subname |
java.lang.String |
getSubName()
Retrieves the subname of the item |
java.lang.String |
getSuffixSubName()
Retrieves the suffix delimiter for subname |
java.lang.String |
getType()
Retrieves the type of the item |
java.lang.String |
getValueDelimiter()
Retrieves the inner value delimiter of the item |
void |
setDataDelimiter(java.lang.String _dataDelimiter)
sets the datadelimiter of the item in case of multiple values in the field |
void |
setFieldType(java.lang.String _fieldType)
sets the field type of the item |
void |
setName(java.lang.String _name)
Sets the name of the item |
void |
setPrefixSubName(java.lang.String _prefix)
Set the prefix delimiter for subname |
void |
setSubName(java.lang.String _name)
sets the subname of the item |
void |
setSuffixSubName(java.lang.String _suffix)
Set the suffix delimiter for subname |
void |
setType(java.lang.String _type)
Sets the type of the item |
void |
setValueDelimiter(java.lang.String _valueDelimiter)
sets the valuedelimiter of the item in case of multiple component of a value |
java.lang.String |
toString()
Transforms object in String |
| Methods inherited from class uk.ac.ebi.adfconverter.common.data.tabulardata.HeaderItem |
getColumnNumber, getName |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CorrectableHeaderItem()
public CorrectableHeaderItem(CorrectableHeaderItem item,
java.lang.String name,
java.lang.String type)
item - the item to correctname - the name of the item before correctiontype - the type of the item
public CorrectableHeaderItem(HeaderItem item,
java.lang.String name,
java.lang.String type,
int column)
item - the item to correctname - the name of the item before correctiontype - the type of the itemcolumn - the column of the header item in the data table
public CorrectableHeaderItem(java.lang.String name,
int column)
name - the name of the itemcolumn - the column of the header item in the data table
public CorrectableHeaderItem(java.lang.String name,
java.lang.String type,
int column)
name - the name of the itemtype - the type of the itemcolumn - the column of the header item in the data table
public CorrectableHeaderItem(java.lang.String name,
java.lang.String initialName,
java.lang.String type,
int column)
name - the name of the iteminitialName - the name of the item before correctiontype - the type of the itemcolumn - the column of the header item in the data table
public CorrectableHeaderItem(java.lang.String name,
java.lang.String initialName,
java.lang.String type,
int column,
java.lang.String subName)
name - the name of the iteminitialName - the name of the item before correctiontype - the type of the itemcolumn - the column of the header item in the data tablesubName - the string contains usually between "[" and "]"| Method Detail |
public void clear()
clear in class HeaderItempublic boolean equals(java.lang.Object o)
equals in class HeaderItemo - the wanted object to be compared
public java.lang.String getDataDelimiter()
public java.lang.String getFieldType()
public java.lang.String getInitialName()
public java.lang.String getPrefixSubName()
public java.lang.String getSubName()
public java.lang.String getSuffixSubName()
public java.lang.String getType()
public java.lang.String getValueDelimiter()
public void setDataDelimiter(java.lang.String _dataDelimiter)
_dataDelimiter - the data delimiter of the itempublic void setFieldType(java.lang.String _fieldType)
_fieldType - the field value type of itempublic void setName(java.lang.String _name)
_name - the new name of the itempublic void setPrefixSubName(java.lang.String _prefix)
_prefix - the first delimiter of the subname in the namepublic void setSubName(java.lang.String _name)
_name - subname of itempublic void setSuffixSubName(java.lang.String _suffix)
_suffix - the ending delimiter of the subname in the namepublic void setType(java.lang.String _type)
_type - the type of itempublic void setValueDelimiter(java.lang.String _valueDelimiter)
_valueDelimiter - the value delimiter of the itempublic java.lang.String toString()
toString in class HeaderItem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||